2021-10-27 16:06:17 +00:00
|
|
|
<?php
|
|
|
|
|
namespace Sarga\API\Providers;
|
|
|
|
|
use Illuminate\Routing\Router;
|
|
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
|
|
|
|
|
|
class APIServiceProvider extends ServiceProvider
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Bootstrap services.
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
|
|
|
|
public function boot(Router $router)
|
|
|
|
|
{
|
2021-11-09 17:55:21 +00:00
|
|
|
include __DIR__ . '/../Http/helpers.php';
|
|
|
|
|
|
2021-10-27 16:06:17 +00:00
|
|
|
$this->loadRoutesFrom(__DIR__.'/../Http/routes.php');
|
|
|
|
|
}
|
|
|
|
|
}
|