Property | Type | Description | |
---|---|---|---|
$configResource | ZF\Configuration\ConfigResource | ||
$filter | Zend\Filter\FilterChain | ||
$module | string | ||
$moduleEntity | |||
$modules |
Method | Description | |
---|---|---|
__construct ( |
||
createContentNegotiationConfig ( string $controllerService, string $selector = null ) : array | Create the selector configuration | |
createController ( string $serviceName ) : object | false | Create a controller in the current module named for the given service | |
createFactoryController ( string $serviceName ) : boolean | string | ||
createMediaType ( ) : string | Create the mediatype for this | |
createRoute ( string $route, string $serviceName, string $controllerService = null ) : string | Create the route configuration | |
createRpcConfig ( string $serviceName, string $controllerService, string $routeName, array $httpMethods = ['GET'], null | string | callable $callable = null ) : array | Create the zf-rpc configuration for the controller service | |
createService ( string $serviceName, string $routeMatch, array $httpMethods, null | string $selector = null ) : |
Create a new RPC service in this module | |
deleteAuthorizationConfig ( string $serviceName ) | Delete authorization configuration associated with a service | |
deleteContentNegotiationConfig ( string $serviceName ) | Delete the Content Negotiation configuration for a named RPC service | |
deleteContentValidationConfig ( string $serviceName ) | Delete content-validation configuration associated with a service | |
deleteControllersConfig ( string $serviceName ) | Remove any controller service configuration for a service | |
deleteRouteConfig ( string $routeName, string $serviceName ) | Removes the route configuration for a named route | |
deleteRpcConfig ( string $serviceName ) | Delete the RPC configuration for a named RPC service | |
deleteService ( |
Delete a service | |
deleteVersioningConfig ( string $routeName, string $serviceName ) | Delete any versionin configuration for a service | |
fetch ( string $controllerServiceName ) : |
Fetch a single RPC service | |
fetchAll ( integer $version = null ) : |
Fetch all services | |
updateContentNegotiationWhitelist ( string $controllerService, string $headerType, array $whitelist ) : true | Update configuration for a content negotiation whitelist for a named controller service | |
updateHttpMethods ( string $controllerService, array $httpMethods ) : true | Update the allowed HTTP methods for a given service | |
updateRoute ( string $controllerService, string $routeMatch ) : true | Update the route associated with a controller service | |
updateSelector ( string $controllerService, string $selector ) : true | Update the content-negotiation selector for the given service |
Method | Description | |
---|---|---|
getNormalizationFilter ( ) : Zend\Filter\FilterChain | Retrieve and/or initialize the normalization filter chain | |
getRouteMatchStringFromModuleConfig ( string $routeName, array $config ) : false | string | Retrieve the URL match for the given route name | |
normalize ( string $string ) : string | Normalize a service or module name to lowercase, dash-separated | |
routeAlreadyExist ( string $route, string $excludeRouteName = null ) : boolean | Check if a route already exist in the configuration |
public __construct ( |
||
$moduleEntity | ||
$modules | ||
$config | ZF\Configuration\ConfigResource |
public createController ( string $serviceName ) : object | false | ||
$serviceName | string | |
return | object | false |
public createMediaType ( ) : string | ||
return | string |
public createRpcConfig ( string $serviceName, string $controllerService, string $routeName, array $httpMethods = ['GET'], null | string | callable $callable = null ) : array | ||
$serviceName | string | |
$controllerService | string | |
$routeName | string | |
$httpMethods | array | |
$callable | null | string | callable | |
return | array |
public deleteAuthorizationConfig ( string $serviceName ) | ||
$serviceName | string |
public deleteContentNegotiationConfig ( string $serviceName ) | ||
$serviceName | string |
public deleteContentValidationConfig ( string $serviceName ) | ||
$serviceName | string |
public deleteControllersConfig ( string $serviceName ) | ||
$serviceName | string |
public deleteRouteConfig ( string $routeName, string $serviceName ) | ||
$routeName | string | |
$serviceName | string |
public deleteRpcConfig ( string $serviceName ) | ||
$serviceName | string |
public deleteService ( |
||
$entity | ||
$recursive | boolean | |
return | true |
public deleteVersioningConfig ( string $routeName, string $serviceName ) | ||
$routeName | string | |
$serviceName | string |
protected getNormalizationFilter ( ) : Zend\Filter\FilterChain | ||
return | Zend\Filter\FilterChain |
public updateHttpMethods ( string $controllerService, array $httpMethods ) : true | ||
$controllerService | string | |
$httpMethods | array | |
return | true |
public updateRoute ( string $controllerService, string $routeMatch ) : true | ||
$controllerService | string | |
$routeMatch | string | |
return | true |
public updateSelector ( string $controllerService, string $selector ) : true | ||
$controllerService | string | |
$selector | string | |
return | true |
protected ConfigResource,ZF\Configuration $configResource | ||
return | ZF\Configuration\ConfigResource |
protected FilterChain,Zend\Filter $filter | ||
return | Zend\Filter\FilterChain |
protected ModuleEntity,ZF\Apigility\Admin\Model $moduleEntity | ||
return |