예제 #1
0
<?php

use App\Services\Routes as RoutesManager;
//这里你可以写一些路由覆盖掉RoutesManager的
//.....
$routesManager = new RoutesManager();
$routesManager->admin()->ewww()->www();
// $routesManager->admin()->www();
// $routesManager->www();
예제 #2
0
파일: routes.php 프로젝트: jjzhai/mylaravel
 <?php 
// Route::get('/jjzhai/ha', [
//     'as' => 'zxc', function () {
//         return 'hahalll';
// }]);
// Route::get('/pagea',  function () {
//         return view('admin.login.index');
// });
use App\Services\Routes as RoutesManager;
$routesManager = new RoutesManager();
$routesManager->admin();