Method |
Description |
|
__construct ( ModuleEntity $moduleEntity, ModulePathSpec $modules, ZF\Configuration\ConfigResource $config ) |
|
|
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 ) : RpcServiceEntity |
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 ( RpcServiceEntity $entity, boolean $recursive = false ) : true |
Delete a service |
|
deleteVersioningConfig ( string $routeName, string $serviceName ) |
Delete any versionin configuration for a service |
|
fetch ( string $controllerServiceName ) : RpcServiceEntity | false |
Fetch a single RPC service |
|
fetchAll ( integer $version = null ) : RpcServiceEntity[] |
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 |
|