public static function root($controller = null) { $self = self::instance(); if (is_null($controller)) { return $self->root; } else { $self->root = $controller; } }
<?php Mapper::root('home');