FOSSology  4.4.0
Open Source License Compliance by Open Source Software
Fossology\UI\Api\Helper\ResponseHelper Class Reference

Override Slim response for withJson function. More...

Inheritance diagram for Fossology\UI\Api\Helper\ResponseHelper:
Inheritance graph
Collaboration diagram for Fossology\UI\Api\Helper\ResponseHelper:
Collaboration graph

Public Member Functions

 withJson ($arr, int $stat=200)
 

Detailed Description

Override Slim response for withJson function.

Definition at line 21 of file ResponseHelper.php.

Member Function Documentation

◆ withJson()

Fossology\UI\Api\Helper\ResponseHelper::withJson (   $arr,
int  $stat = 200 
)

Create a JSON response from Info objects

Parameters
array$arrArray to return
int$statReturn status

Definition at line 29 of file ResponseHelper.php.


The documentation for this class was generated from the following file: