class BooleanRule extends Rule
Methods
__construct($name, array $options = array())
|
from Rule | |
boolean |
apply(mixed $value)
|
from Rule |
string |
getName()
|
from Rule |
getOptions()
|
from Rule | |
mixed |
getOption(string $name, mixed $default = null)
|
from Rule |
boolean |
hasOption($name)
|
from Rule |
IncidentMap |
getIncidents()
|
from Rule |
mixed |
getSanitizedValue()
|
from Rule |
Details
in Rule at line 21
public
__construct($name, array $options = array())
in Rule at line 27
public boolean
apply(mixed $value)
in Rule at line 42
public string
getName()
in Rule at line 47
public
getOptions()
in Rule at line 52
public mixed
getOption(string $name, mixed $default = null)
in Rule at line 61
public boolean
hasOption($name)
in Rule at line 66
public IncidentMap
getIncidents()
in Rule at line 71
public mixed
getSanitizedValue()