1 | <?php |
||
14 | abstract class AbstractChecker |
||
15 | { |
||
16 | /** |
||
17 | * @var array |
||
18 | */ |
||
19 | protected $ignoreTaskKeys = []; |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $target = 'target'; |
||
25 | |||
26 | /** |
||
27 | * @param array $task |
||
28 | * |
||
29 | * @throws ErrorException |
||
30 | * @throws SuccessException |
||
31 | */ |
||
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 |