Class

eZ\Bundle\EzPublishRestBundle\Routing\OptionsLoader

class OptionsLoader extends Loader

Goes through all REST routes, and registers new routes for all routes a new one with the OPTIONS method.

Methods

__construct(RouteCollectionMapper $mapper)

RouteCollection load(mixed $resource, string $type = null)

supports($resource, $type = null)

Details

at line 24
public __construct(RouteCollectionMapper $mapper)

Parameters

RouteCollectionMapper $mapper

at line 35
public RouteCollection load(mixed $resource, string $type = null)

Parameters

mixed $resource
string $type

Return Value

RouteCollection

at line 40
public supports($resource, $type = null)

Parameters

$resource
$type