class ResourceTypeHandlerFactory implements ResourceTypeHandlerFactoryInterface

OAuth2 resource type handler factory implemention.

Properties

protected $httpKernel
protected $modelManagerFactory
protected $classes

Methods

__construct(HttpKernelInterface $httpKernel, ModelManagerFactoryInterface $modelManagerFactory, array $classes = [])

No description

getResourceTypeHandler(string $type = null)

Gets a stored resource type handler.

array
getResourceTypeHandlers()

Get a list of all supported handler.

Details

at line 29
__construct(HttpKernelInterface $httpKernel, ModelManagerFactoryInterface $modelManagerFactory, array $classes = [])

Parameters

HttpKernelInterface $httpKernel
ModelManagerFactoryInterface $modelManagerFactory
array $classes

at line 55
ResourceTypeHandlerInterface getResourceTypeHandler(string $type = null)

Gets a stored resource type handler.

Parameters

string $type Type of resource type handler

Return Value

ResourceTypeHandlerInterface The stored resource type handler

at line 73
array getResourceTypeHandlers()

Get a list of all supported handler.

Return Value

array Supported handler in key-value pair