Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php namespace Anomaly\Streams\Platform\Console; |
||
20 | protected function getArtisan() |
||
21 | { |
||
22 | if (is_null($this->artisan)) { |
||
23 | return $this->artisan = (new Application($this->app, $this->events, $this->app->version())) |
||
24 | ->resolveCommands($this->commands); |
||
25 | } |
||
26 | |||
27 | return $this->artisan; |
||
28 | } |
||
29 | |||
38 |