token() public method

Generate a hidden field with the current CSRF token.
public token ( ) : string
return string
Exemplo n.º 1
0
 /**
  * Generate a hidden field with the current CSRF token.
  *
  * @return string 
  * @static 
  */
 public static function token()
 {
     return \Collective\Html\FormBuilder::token();
 }