<?php Router::any('/', 'HomeController:index'); // // Default hook routes. // Router::mount('/', 'Hook\\Application\\Routes');
public static function translateRouteDir($path = '') { static::$routeDir = $path; Router::mount($path); }