| Total Complexity | 4 | 
| Total Lines | 18 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 8 | class GeneratorServiceProvider extends ServiceProvider | ||
| 9 | { | ||
| 10 | public function boot() | ||
| 11 |     { | ||
| 12 |         if ($this->app->runningInConsole()) { | ||
| 13 | $this->commands([ | ||
| 14 | Build::class, | ||
| 15 | ]); | ||
| 16 | } | ||
| 17 | |||
| 18 |         if (! defined('STUBS_PATH')) { | ||
| 19 |             define('STUBS_PATH', dirname(__DIR__).'/stubs'); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | public function register() | ||
| 26 | } | ||
| 27 | } | ||
| 28 |