PHP Class Sulu\Bundle\SecurityBundle\Controller\PermissionController

Inheritance: implements FOS\RestBundle\Routing\ClassResourceInterface
Mostrar archivo Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( Sulu\Component\Security\Authorization\AccessControl\AccessControlManagerInterface $accessControlManager, Sulu\Component\Security\Authorization\SecurityCheckerInterface $securityChecker, Sulu\Component\Security\Authentication\RoleRepositoryInterface $roleRepository, FOS\RestBundle\View\ViewHandlerInterface $viewHandler )
cgetAction ( Request $request )
postAction ( Request $request )

Method Details

__construct() public method

public __construct ( Sulu\Component\Security\Authorization\AccessControl\AccessControlManagerInterface $accessControlManager, Sulu\Component\Security\Authorization\SecurityCheckerInterface $securityChecker, Sulu\Component\Security\Authentication\RoleRepositoryInterface $roleRepository, FOS\RestBundle\View\ViewHandlerInterface $viewHandler )
$accessControlManager Sulu\Component\Security\Authorization\AccessControl\AccessControlManagerInterface
$securityChecker Sulu\Component\Security\Authorization\SecurityCheckerInterface
$roleRepository Sulu\Component\Security\Authentication\RoleRepositoryInterface
$viewHandler FOS\RestBundle\View\ViewHandlerInterface

cgetAction() public method

public cgetAction ( Request $request )
$request Symfony\Component\HttpFoundation\Request

postAction() public method

public postAction ( Request $request )
$request Symfony\Component\HttpFoundation\Request