55 public function all() {
if(! $user||! $user->canDelete()) $name
Represents a parameter that has been validated.
isValid()
Is parameter value valid?
Represents a set of validated parameters.
pass($name, $value, $message='')
Add parameter and set it as valid.
all()
Get all results in this bag.
fail($name, $value, $error='')
Add parameter and set it as invalid.
getFailures()
Check if the bag has parameters that failed validation.