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( |
||
46 | |||
47 | /** |
||
48 | * Resolve Yarak kernel from di. |
||
49 | * |
||
50 | * @param FactoryDefault|null $di |
||
51 | * |
||
52 | * @return Kernel |
||
53 | */ |
||
54 | protected static function getKernel($di) |
||
62 | |||
63 | /** |
||
64 | * Get a fresh DI instance. |
||
65 | * |
||
66 | * @throws FileNotFound |
||
67 | * |
||
68 | * @return FactoryDefault |
||
69 | */ |
||
70 | protected static function getDI() |
||
91 | } |
||
92 |