home/mip/mip/vendor/laravel/ui/src/UiServiceProvider.php 0000644 00000001236 15152100453 0017315 0 ustar 00 <?php
namespace Laravel\Ui;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\ServiceProvider;
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);
}
}