1 | <?php |
||
12 | class Yarak |
||
13 | { |
||
14 | /** |
||
15 | * Call a Yarak console command. |
||
16 | * |
||
17 | * @param string $command |
||
18 | * @param array $arguments Argument array. |
||
19 | * @param FactoryDefault $di DI, may be necessary for php 5.6. |
||
20 | * @param bool $debug If true, use and return buffered output. |
||
21 | */ |
||
22 | public static function call( |
||
40 | |||
41 | /** |
||
42 | * Resolve Yarak kernel from di. |
||
43 | * |
||
44 | * @param FactoryDefault|null $di |
||
45 | * |
||
46 | * @return Kernel |
||
47 | */ |
||
48 | protected static function getKernel($di) |
||
56 | |||
57 | /** |
||
58 | * Get a fresh DI instance. |
||
59 | * |
||
60 | * @throws FileNotFound |
||
61 | * |
||
62 | * @return FactoryDefault |
||
63 | */ |
||
64 | protected static function getDI() |
||
85 | } |
||
86 |