public function __construct() { self::$method = $_SERVER['REQUEST_METHOD']; }
/** * @return \Core\Http\Request */ public static function getInstance() { if (is_null(self::$_instance)) { self::$_instance = new self(); } return self::$_instance; }