AbstractObject
abstract class AbstractObject
Class AbstractObject
Properties
protected array | $typeCheck | ||
protected array | $required | ||
protected array | $errors |
Methods
__construct(array|null $args = [])
AbstractObject constructor.
setArgs(array $args)
No description
bool
isFieldRequired(string $field_name)
No description
array
addError(string $error)
No description
mixed
parseFieldValue(string $field_type, string $field_value)
No description
throwErrors()
No description
string
toJson()
No description
array
toArray()
No description
string
__toString()
No description
mixed
__call($name, $arguments)
No description
Details
at line 43
__construct(array|null $args = [])
AbstractObject constructor.