/** * Set the router * * @param RouterAbstract $router */ static public function setRouter(RouterRegex $router) { self::$router = $router; //echo '<pre>' . print_r(self::$router, 1) . '</pre>'; }