Class

eZ\Publish\Core\REST\Server\Controller\URLWildcard

class URLWildcard extends Controller

URLWildcard controller.

Methods

setInputDispatcher(Dispatcher $inputDispatcher)

from Controller
setRouter(RouterInterface $router)

from Controller
setRepository(Repository $repository)

from Controller
setRequestParser(RequestParser $requestParser)

from Controller
__construct(URLWildcardService $urlWildcardService)

Construct controller.

URLWildcard loadURLWildcard($urlWildcardId $urlWildcardId)

Returns the URL wildcard with the given id.

URLWildcardList listURLWildcards()

Returns the list of URL wildcards.

CreatedURLWildcard createURLWildcard(Request $request)

Creates a new URL wildcard.

NoContent deleteURLWildcard($urlWildcardId $urlWildcardId)

The given URL wildcard is deleted.

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 36
public __construct(URLWildcardService $urlWildcardService)

Construct controller.

Parameters

URLWildcardService $urlWildcardService

at line 48
public URLWildcard loadURLWildcard($urlWildcardId $urlWildcardId)

Returns the URL wildcard with the given id.

Parameters

$urlWildcardId $urlWildcardId

Return Value

URLWildcard

at line 58
public URLWildcardList listURLWildcards()

Returns the list of URL wildcards.

Return Value

URLWildcardList

at line 72
public CreatedURLWildcard createURLWildcard(Request $request)

Creates a new URL wildcard.

Parameters

Request $request

Return Value

CreatedURLWildcard

Exceptions

ForbiddenException

at line 105
public NoContent deleteURLWildcard($urlWildcardId $urlWildcardId)

The given URL wildcard is deleted.

Parameters

$urlWildcardId $urlWildcardId

Return Value

NoContent