Pagekit\Session\Csrf\Event\CsrfListener::__construct PHP Method

__construct() public method

Constructor.
public __construct ( Pagekit\Session\Csrf\Provider\CsrfProviderInterface $provider )
$provider Pagekit\Session\Csrf\Provider\CsrfProviderInterface
    public function __construct(CsrfProviderInterface $provider)
    {
        $this->provider = $provider;
    }