Repository URL to install this package:
|
Version:
1.0.0 ▾
|
<?php
namespace Modules\Core\Providers;
class RouteServiceProvider extends RoutingServiceProvider
{
/**
* The root namespace to assume when generating URLs to actions.
* @var string
*/
protected $namespace = 'Modules\Core\Http\Controllers';
/**
* @return string
*/
protected function getFrontendRoute()
{
return false;
}
/**
* @return string
*/
protected function getBackendRoute()
{
return __DIR__ . '/../Http/backendRoutes.php';
}
/**
* @return string
*/
protected function getApiRoute()
{
return __DIR__ . '/../Http/apiRoutes.php';
}
/**
* @return string
*/
protected function getSocketRoute()
{
return __DIR__ . '/../Http/socketRoutes.php';
}
}