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