Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- use Illuminate\Contracts\Console\Kernel;
- use App\YouApp\Console\Kernel as AppKernel;
- class AppServiceProvider extends ServiceProvider
- {
- // boot ...
- // register
- public function register()
- {
- // Console Kernel
- $this->app->singleton(Kernel::class, AppKernel::class);
- $this->app->get(Kernel::class)->bootstrap();
- }
- }
Add Comment
Please, Sign In to add comment