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
Former
Traits
Field
getRules
Former\Traits\Field::getRules PHP Method
Field Class Documentation
Show file
Open project: anahkiasen/former
getRules()
public
method
Get the rules applied to the current field
public
getRules
( ) :
array
return
array
An array of rules
public function getRules() { return $this->app['former']->getRules($this->name); }
Field
__call
__construct
__toString
automaticLabels
bind
currentFramework
forceValue
getLabel
getRules
isButton
isCheckable
isRequired
isUnwrappable
label
name
repopulate
rule
rules
value
wrapAndRender