/** * Get a single instance of the class (Singleton) * @return Request */ public static function getInstance() { if (!self::$__instance instanceof self) { self::$__instance = new self(); } return self::$__instance; }