PHP Class ApiPlatform\Core\Bridge\FosUser\EventListener

Author: Kévin Dunglas ([email protected])
Author: Théo FIDRY ([email protected])
显示文件 Open project: api-platform/core Class Usage Examples

Public Methods

Method Description
__construct ( FOS\UserBundle\Model\UserManagerInterface $userManager )
onKernelView ( GetResponseForControllerResultEvent $event ) Persists, updates or delete data return by the controller if applicable.

Method Details

__construct() public method

public __construct ( FOS\UserBundle\Model\UserManagerInterface $userManager )
$userManager FOS\UserBundle\Model\UserManagerInterface

onKernelView() public method

Persists, updates or delete data return by the controller if applicable.
public onKernelView ( GetResponseForControllerResultEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent