/** * * @the constructor is set to private so * @so nobody can create a new instance using new * */ private function __construct() { /* * * put the string into array ** */ $qstring = str_replace("page=", "", $_SERVER['QUERY_STRING']); self::$fragments = ArrayUtils::remove_empty(explode('/', $qstring)); }