Ejemplo n.º 1
0
/**
 *  @Service(url, {
 *  }, {shared: true})
 */
function url_service($config)
{
    $router = S::get("dispatcher");
    return function ($name, array $args = array()) use($router) {
        return $router->getRoute($name, $args);
    };
}
Ejemplo n.º 2
0
 public function run()
 {
     echo \Service\Service::test() . PHP_EOL;
 }
Ejemplo n.º 3
0
 public function serviceAction()
 {
     Service::composerTest();
 }