for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Arcanesoft\Core\Providers;
use Arcanesoft\Core\Bases\RouteServiceProvider as ServiceProvider;
use Arcanesoft\Core\Http\Middleware;
use Illuminate\Contracts\Routing\Registrar as Router;
/**
* Class RouteServiceProvider
*
* @package Arcanesoft\Core\Providers
* @author ARCANEDEV <[email protected]>
*/
class RouteServiceProvider extends ServiceProvider
{
/* -----------------------------------------------------------------
| Properties
| -----------------------------------------------------------------
* The application's route middleware.
* These middleware may be assigned to groups or used individually.
* @var array
protected $routeMiddleware = [
'admin' => Middleware\CheckAdministrators::class,
];
| Main Methods
* Define the routes for the application.
* @param \Illuminate\Contracts\Routing\Registrar $router
public function map(Router $router)
$router
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
//
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.