ErrorTrait
This is the theme trait.
Tags
Table of Contents
$error | : Error|null | |
---|---|---|
getError() | Returns the current element error (if there is error). | : Error|null |
setError() | : void |
Properties
$error
protected
Error|null
$error
= null
Methods
getError()
Returns the current element error (if there is error).
public
getError() : Error|null
Return values
Error|null —setError()
protected
setError(mixed $error) : void
Parameters
- $error : mixed