21 lines
563 B
PHP
21 lines
563 B
PHP
<?php
|
|
namespace App\Domains\Flow\Providers;
|
|
|
|
use Dipper\Foundation\Core\RouteServiceProvider as ServiceProvider;
|
|
|
|
class RouteServiceProvider extends ServiceProvider
|
|
{
|
|
/**
|
|
* Read the routes from the "api.php" and "web.php" files of this Domain
|
|
*/
|
|
public function boot()
|
|
{
|
|
$app = $this->app;
|
|
$namespace = 'App\Domains\Flow\Http\Controllers';
|
|
$pathApi = __DIR__.'/../Routes/api.php';
|
|
$pathWeb = __DIR__.'/../Routes/web.php';
|
|
|
|
$this->loadRoutesFiles($app->router, $namespace, $pathApi, $pathWeb);
|
|
}
|
|
}
|