Example #1
0
 public function index()
 {
     $routes = \App\Route::get();
     return response()->json($routes);
 }
Example #2
0
<?php

use App\App;
use App\Route;
use App\Authentication\Authentication;
include './config.php';
include './autoload.php';
App::begin();
Authentication::auth();
Route::get();
App::end();