1 | <?php |
||
14 | class CallbackAction extends BaseAction implements ExecutorLessInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var callable |
||
18 | */ |
||
19 | protected $callback; |
||
20 | |||
21 | /** |
||
22 | * @param callable $callback |
||
23 | */ |
||
24 | 5 | public function __construct(callable $callback) |
|
29 | |||
30 | /** |
||
31 | * @param ExecutorInterface $executor |
||
32 | * |
||
33 | * @return mixed |
||
34 | */ |
||
35 | 4 | public function parseArguments(ExecutorInterface $executor) |
|
39 | |||
40 | /** |
||
41 | * @inheritDoc |
||
42 | */ |
||
43 | 1 | public function getName() : string |
|
47 | |||
48 | } |
||
49 |