CsrfTokenFunction
extends BaseFunction
in package
Provides CSRF Form token in a simple function
Table of Contents
- __construct() : mixed
- getDI() : mixed
- getFunctionName() : mixed
- getFunctionOptions() : array<string|int, mixed>
- Return function options Allows the function to automatically escape HTML strings
- handle() : mixed
- Return a service
Methods
__construct()
public
__construct() : mixed
Return values
mixed —getDI()
public
getDI() : mixed
Return values
mixed —getFunctionName()
public
getFunctionName() : mixed
Return values
mixed —getFunctionOptions()
Return function options Allows the function to automatically escape HTML strings
public
getFunctionOptions() : array<string|int, mixed>
Return values
array<string|int, mixed> —handle()
Return a service
public
handle() : mixed
{{ csrfToken }}
Return values
mixed —Service instance