Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | public static function call($command, array $arguments = [], FactoryDefault $di = null) |
||
20 | { |
||
21 | $kernel = self::getKernel($di); |
||
22 | |||
23 | $arguments = ['command' => $command] + $arguments; |
||
24 | |||
25 | $input = new ArrayInput($arguments); |
||
26 | |||
27 | $output = new NullOutput(); |
||
28 | |||
29 | $kernel->handle($input, $output); |
||
30 | } |
||
31 | |||
72 |