Class

eZ\Publish\Core\REST\Server\Controller\Root

class Root 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
__construct($rootResourceBuilder)

Root loadRootResource()

List the root resources of the eZ Publish installation.

catchAll()

Catch-all for REST requests.

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 25
public __construct($rootResourceBuilder)

Parameters

$rootResourceBuilder

at line 35
public Root loadRootResource()

List the root resources of the eZ Publish installation.

Return Value

Root

at line 45
public catchAll()

Catch-all for REST requests.

Exceptions

NotFoundException