public static function current($addAuth = false) { $current = (string) self::root($addAuth) . (string) self::path(); return $current ? $current : null; }
public function testEmpty() { isSame(null, Url::root()); isSame(null, Url::path()); isSame(null, Url::current()); }