Ejemplo n.º 1
0
 public function index()
 {
     $routes = \App\Route::get();
     return response()->json($routes);
 }
Ejemplo n.º 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();