1 | <?php |
||
17 | trait HasResolverPipelineTrait |
||
18 | { |
||
19 | /** |
||
20 | * @var Pipeline[] |
||
21 | */ |
||
22 | protected $resolverPipeline = []; |
||
23 | |||
24 | /** |
||
25 | * @param Command $command |
||
26 | * @return Command |
||
27 | * @throws ForwardException |
||
28 | */ |
||
29 | 3 | protected function processCommand(Command $command) |
|
34 | |||
35 | /** |
||
36 | * @param string $type |
||
37 | * @return Pipeline |
||
38 | */ |
||
39 | 4 | public function getResolverPipeline($type = ActionBuilder::class) |
|
46 | |||
47 | /** |
||
48 | * @param string $type |
||
49 | */ |
||
50 | 4 | protected function initResolverPipeline($type) |
|
54 | |||
55 | /** |
||
56 | * @param $type |
||
57 | * @return ActionBuilder |
||
58 | */ |
||
59 | 4 | protected function getResolverBuilder($type) |
|
63 | } |
||
64 |