RestFilingCompanyController
implements
IController
Table of Contents
Interfaces
- IController
Properties
-
$filingCompanyService
: FilingCompanyService
-
$response
: Response
Methods
-
__construct()
: mixed
-
getAction()
: ResponseInterface
-
errorResponse()
: ResponseInterface
-
jsonResponse()
: ResponseInterface
$filingCompanyService
private
FilingCompanyService
$filingCompanyService
$response
private
Response
$response
__construct()
public
__construct(Response $response, FilingCompanyService $filingCompanyService) : mixed
Parameters
-
$response
: Response
-
-
$filingCompanyService
: FilingCompanyService
-
getAction()
public
getAction() : ResponseInterface
Return values
ResponseInterface
errorResponse()
private
errorResponse(string $message) : ResponseInterface
Parameters
-
$message
: string
-
Return values
ResponseInterface
jsonResponse()
private
jsonResponse(int $statusCode, bool $status[, null $data = null ][, string|null $message = null ]) : ResponseInterface
Parameters
-
$statusCode
: int
-
-
$status
: bool
-
-
$data
: null
= null
-
-
$message
: string|null
= null
-
Return values
ResponseInterface