Файл: vendor/laravel/ui/src/UiServiceProvider.php
Строк: 25
<?php
namespace LaravelUi;
use IlluminateSupportFacadesRoute;
use IlluminateSupportServiceProvider;
class UiServiceProvider extends ServiceProvider
{
/**
* Register the package services.
*
* @return void
*/
public function register()
{
if ($this->app->runningInConsole()) {
$this->commands([
AuthCommand::class,
ControllersCommand::class,
UiCommand::class,
]);
}
}
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Route::mixin(new AuthRouteMethods);
}
}