Method |
Description |
|
__construct ( RestServiceModelFactory $restFactory, InputFilterModel $inputFilterModel, DocumentationModel $documentationModel ) |
|
|
create ( array | object $data ) : RestServiceEntity | ZF\ApiProblem\ApiProblem |
Create a new REST service |
|
delete ( mixed $id ) : boolean |
Delete a service |
|
fetch ( string $id ) : RestServiceEntity | ZF\ApiProblem\ApiProblem |
Fetch REST metadata |
|
fetchAll ( array $params = [] ) : RestServiceEntity[] |
Fetch metadata for all REST services |
|
getModel ( string $type = RestServiceModelFactory::TYPE_DEFAULT ) : RestServiceModel |
|
|
getModuleName ( ) : string |
|
|
patch ( string $id, object | array $data ) : ZF\ApiProblem\ApiProblem | RestServiceEntity |
Update an existing REST service |
|