PHP Interface Sulu\Component\Security\Authorization\AccessControl\SecuredObjectControllerInterface

Mostrar archivo Open project: sulu/sulu

Public Methods

Method Description
getLocale ( Request $request ) : string Returns the locale for the given request.
getSecuredClass ( ) : string Returns the class name of the object to check.
getSecuredObjectId ( Request $request ) : string Returns the id of the object to check.

Method Details

getLocale() public method

Returns the locale for the given request.
public getLocale ( Request $request ) : string
$request Symfony\Component\HttpFoundation\Request
return string

getSecuredClass() public method

Returns the class name of the object to check.
public getSecuredClass ( ) : string
return string

getSecuredObjectId() public method

Returns the id of the object to check.
public getSecuredObjectId ( Request $request ) : string
$request Symfony\Component\HttpFoundation\Request
return string