Validatable
in
Table of Contents
Methods
- getValueObjectOf() : Value
- validate() : ResultCollection|bool
- Validates the Object.
Methods
getValueObjectOf()
public
getValueObjectOf(string $field) : Value
Parameters
- $field : string
Return values
Valuevalidate()
Validates the Object.
public
validate() : ResultCollection|bool
Return values
ResultCollection|bool —returns true if validations passed a ResultCollection otherwise