mini\CSRF::__construct()
public
Documentation
Create a CSRF token for a specific action
Signature
public function __construct(string $action, string $fieldName = '__nonce__')
Parameters
| Name | Type | Default |
|---|---|---|
$action
|
string |
required |
$fieldName
|
string |
'__nonce__'
|