Conditions | 2 |
Paths | 2 |
Total Lines | 18 |
Lines | 0 |
Ratio | 0 % |
Tests | 12 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
40 | 2 | public function run(ManifestInterface $manifest) |
|
41 | { |
||
42 | 2 | $builder = new ProcedureBuilder(); |
|
43 | 2 | $processor = $manifest->getProcessor(); |
|
44 | |||
45 | 2 | if ($this->dispatcher) { |
|
46 | 1 | $processor->setEventDispatcher($this->dispatcher); |
|
47 | 1 | } |
|
48 | |||
49 | 2 | $manifest->configureProcedureBuilder($builder); |
|
50 | 2 | $manifest->configureProcessor($manifest->getProcessor()); |
|
51 | |||
52 | 2 | $procedure = $builder->getProcedure(); |
|
53 | |||
54 | $processor |
||
55 | 2 | ->addProcedure($procedure) |
|
56 | 2 | ->process(); |
|
57 | 2 | } |
|
58 | } |
||
59 |