Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
LaravelBook
Laravel4Powerpack
Form
token
LaravelBook\Laravel4Powerpack\Form::token PHP Method
Form Class Documentation
Show file
Open project: laravelbook/laravel4-powerpack
token()
public
method
Generate a hidden field containing the current CSRF token.
public
token
( ) :
string
return
string
public function token() { return $this->input('hidden', 'csrf_token', csrf_token()); }
Form
__call
__construct
action
button
checkable
checkbox
close
date
email
file
hidden
id
image
input
label
macro
method
number
open
openForFiles
openSecure
openSecureForFiles
optgroup
option
password
radio
reset
search
select
submit
telephone
text
textarea
token
url