PHP Класс WellCommerce\Bundle\ClientBundle\Handler\LoginFailureHandler

Автор: Adam Piotrowski ([email protected])
Наследование: implements Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$loginRoute string
$router Symfony\Component\Routing\RouterInterface

Открытые методы

Метод Описание
__construct ( Symfony\Component\Routing\RouterInterface $router, string $loginRoute ) Constructor
onAuthenticationFailure ( Request $request, Symfony\Component\Security\Core\Exception\AuthenticationException $exception )

Описание методов

__construct() публичный Метод

Constructor
public __construct ( Symfony\Component\Routing\RouterInterface $router, string $loginRoute )
$router Symfony\Component\Routing\RouterInterface
$loginRoute string

onAuthenticationFailure() публичный Метод

public onAuthenticationFailure ( Request $request, Symfony\Component\Security\Core\Exception\AuthenticationException $exception )
$request Symfony\Component\HttpFoundation\Request
$exception Symfony\Component\Security\Core\Exception\AuthenticationException

Описание свойств

$loginRoute защищенное свойство

protected string $loginRoute
Результат string

$router защищенное свойство

protected RouterInterface,Symfony\Component\Routing $router
Результат Symfony\Component\Routing\RouterInterface