public function __construct() { $this->_redirectSlashes(); // make an array from stuff between slashes from request path $this->path = explode('/', $_SERVER['REQUEST_URI']); self::$method = strtolower($_SERVER['REQUEST_METHOD']); self::$view = $this->_getView(); self::$get = $this->_getParameters(); if (self::$method === "post") { foreach ($_POST as $post => $value) { self::$get[] = $value; } } new Response(); }