Class

eZ\Publish\Core\REST\Server\Controller\Options

class Options extends Controller

Root controller.

Methods

setInputDispatcher(Dispatcher $inputDispatcher)

from Controller
setRouter(RouterInterface $router)

from Controller
setRepository(Repository $repository)

from Controller
setRequestParser(RequestParser $requestParser)

from Controller
Options getRouteOptions($allowedMethods $allowedMethods)

Lists the verbs available for a resource.

Details

in Controller at line 45
public setInputDispatcher(Dispatcher $inputDispatcher)

Parameters

Dispatcher $inputDispatcher

in Controller at line 50
public setRouter(RouterInterface $router)

Parameters

RouterInterface $router

in Controller at line 55
public setRepository(Repository $repository)

Parameters

Repository $repository

in Controller at line 60
public setRequestParser(RequestParser $requestParser)

Parameters

RequestParser $requestParser

at line 26
public Options getRouteOptions($allowedMethods $allowedMethods)

Lists the verbs available for a resource.

Parameters

$allowedMethods $allowedMethods string comma separated list of supported methods. Depends on the matched OPTIONS route.

Return Value

Options