Exemple #1
0
 public function indexAction()
 {
     $config = FREST\Config::fromFile('../config/frest.json');
     $router = new FREST\Router($config);
     $router->outputResult();
 }
Exemple #2
0
<?php

/**
 * Created by Brad Walker on 10/17/13 at 1:50 AM
*/
require_once '../../vendor/autoload.php';
FREST\Router::automatic()->outputResult();