class Csrf implements ExtenderInterface

Properties

protected $csrfExemptRoutes

Methods

exemptRoute(string $routeName)

<p>Exempt a named route from CSRF checks.</p>

void
extend(Container $container, Extension $extension = null)

No description

Details

Csrf exemptRoute(string $routeName)

<p>Exempt a named route from CSRF checks.</p>

Parameters

string $routeName

Return Value

Csrf

void extend(Container $container, Extension $extension = null)

Parameters

Container $container
Extension $extension

Return Value

void