public function initializeRequest($request = null)
	{
		if (empty($request)) {
			$this->request = Request::createFromGlobals();
		} else {
			$this->request = $request;
		}

		// Shortcuts to the request object for cleaner syntax.
		$this->input = new Input($this->request);
	}
public function initializeRequest($request = null)
	{
		if (empty($request)) {
			$this->request = Request::createFromGlobals();
		} else {
			$this->request = $request;
		}

		// Shortcuts to the request object for cleaner syntax.
		$this->input = new Input($this->request);
	}
public function initializeRequest ( $ request = null ) { if ( empty ( $ request ) ) { $ this -> request = Request :: createFromGlobals ( ) ; } else { $ this -> request = $ request ; } // Shortcuts to the request object for cleaner syntax. $ this -> input = new Input ( $ this -> request ) ; }
Get info about the HTTP Request

@var \Symfony\Component\HttpFoundation\Request $request
Get info about the HTTP Request