1 | <?php |
||
14 | 23 | abstract class AbstractChecker |
|
15 | { |
||
16 | 23 | /** |
|
17 | * @var array |
||
18 | 23 | */ |
|
19 | 23 | protected $ignoreTaskKeys = []; |
|
20 | |||
21 | /** |
||
22 | 23 | * @var string |
|
23 | 23 | */ |
|
24 | protected $target = 'target'; |
||
25 | |||
26 | 22 | /** |
|
27 | 22 | * @param array $task |
|
28 | * |
||
29 | * @throws ErrorException |
||
30 | * @throws SuccessException |
||
31 | 11 | */ |
|
32 | public function check(array $task) |
||
47 | |||
48 | /** |
||
49 | * @param string $method |
||
50 | * @param array $task |
||
51 | * @param mixed $options |
||
52 | * |
||
53 | * @return $this |
||
54 | * @throws ErrorException |
||
55 | */ |
||
56 | protected function tryMethod($method, array $task, $options) |
||
73 | } |
||
74 |