1 | <?php |
||
5 | class Errors extends AbstractSystem |
||
6 | { |
||
7 | /** |
||
8 | * @var \BFW\Core\Errors|null $errors The error object |
||
9 | */ |
||
10 | protected $errors; |
||
11 | |||
12 | /** |
||
13 | * {@inheritdoc} |
||
14 | */ |
||
15 | public function __invoke() |
||
19 | |||
20 | /** |
||
21 | * Getter accessor to property errors |
||
22 | * |
||
23 | * @return \BFW\Core\Errors|null |
||
24 | */ |
||
25 | public function getErrors() |
||
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | * Initialize the errors property |
||
33 | */ |
||
34 | public function init() |
||
39 | } |
||
40 |