You are here

class NewRequest in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Tests/RequestTest.php \Symfony\Component\HttpFoundation\Tests\NewRequest

Hierarchy

  • class \Symfony\Component\HttpFoundation\Request
    • class \Symfony\Component\HttpFoundation\Tests\NewRequest

Expanded class hierarchy of NewRequest

File

vendor/symfony/http-foundation/Tests/RequestTest.php, line 1884

Namespace

Symfony\Component\HttpFoundation\Tests
View source
class NewRequest extends Request {
  public function getFoo() {
    return 'foo';
  }

}

Members

Namesort descending Modifiers Type Description Overrides
NewRequest::getFoo public function
Request::$acceptableContentTypes protected property
Request::$attributes public property Custom parameters.
Request::$basePath protected property
Request::$baseUrl protected property
Request::$charsets protected property
Request::$content protected property
Request::$cookies public property Cookies ($_COOKIE).
Request::$defaultLocale protected property
Request::$encodings protected property
Request::$files public property Uploaded files ($_FILES).
Request::$format protected property
Request::$formats protected static property
Request::$headers public property Headers (taken from the $_SERVER).
Request::$httpMethodParameterOverride protected static property
Request::$languages protected property
Request::$locale protected property
Request::$method protected property
Request::$pathInfo protected property
Request::$query public property Query string parameters ($_GET).
Request::$request public property Request body parameters ($_POST).
Request::$requestFactory protected static property
Request::$requestUri protected property
Request::$server public property Server and execution environment parameters ($_SERVER).
Request::$session protected property
Request::$trustedHeaders protected static property Names for headers that can be trusted when using trusted proxies.
Request::$trustedHostPatterns protected static property
Request::$trustedHosts protected static property
Request::$trustedProxies protected static property
Request::create public static function Creates a Request based on a given URI and configuration.
Request::createFromGlobals public static function Creates a new request with values from PHP's super globals.
Request::createRequestFromFactory private static function
Request::duplicate public function Clones a request and overrides some of its parameters.
Request::enableHttpMethodParameterOverride public static function Enables support for the _method request parameter to determine the intended HTTP method.
Request::get public function Gets a "parameter" value.
Request::getAcceptableContentTypes public function Gets a list of content types acceptable by the client browser.
Request::getBasePath public function Returns the root path from which this request is executed.
Request::getBaseUrl public function Returns the root URL from which this request is executed.
Request::getCharsets public function Gets a list of charsets acceptable by the client browser.
Request::getClientIp public function Returns the client IP address.
Request::getClientIps public function Returns the client IP addresses.
Request::getContent public function Returns the request body content. 1
Request::getContentType public function Gets the format associated with the request.
Request::getDefaultLocale public function Get the default locale.
Request::getEncodings public function Gets a list of encodings acceptable by the client browser.
Request::getETags public function Gets the Etags.
Request::getFormat public function Gets the format associated with the mime type.
Request::getHost public function Returns the host name.
Request::getHttpHost public function Returns the HTTP host being requested.
Request::getHttpMethodParameterOverride public static function Checks whether support for the _method request parameter is enabled.
Request::getLanguages public function Gets a list of languages acceptable by the client browser.
Request::getLocale public function Get the locale.
Request::getMethod public function Gets the request "intended" method.
Request::getMimeType public function Gets the mime type associated with the format.
Request::getPassword public function Returns the password.
Request::getPathInfo public function Returns the path being requested relative to the executed script.
Request::getPort public function Returns the port on which the request is made.
Request::getPreferredLanguage public function Returns the preferred language.
Request::getQueryString public function Generates the normalized query string for the Request.
Request::getRealMethod public function Gets the "real" request method.
Request::getRelativeUriForPath public function Returns the path as relative reference from the current Request path.
Request::getRequestFormat public function Gets the request format.
Request::getRequestUri public function Returns the requested URI (path and query string).
Request::getScheme public function Gets the request's scheme.
Request::getSchemeAndHttpHost public function Gets the scheme and HTTP host.
Request::getScriptName public function Returns current script name.
Request::getSession public function Gets the Session.
Request::getTrustedHeaderName public static function Gets the trusted proxy header name.
Request::getTrustedHosts public static function Gets the list of trusted host patterns.
Request::getTrustedProxies public static function Gets the list of trusted proxies.
Request::getUri public function Generates a normalized URI (URL) for the Request.
Request::getUriForPath public function Generates a normalized URI for the given path.
Request::getUrlencodedPrefix private function
Request::getUser public function Returns the user.
Request::getUserInfo public function Gets the user info.
Request::hasPreviousSession public function Whether the request contains a Session which was started in one of the previous requests.
Request::hasSession public function Whether the request contains a Session object.
Request::HEADER_CLIENT_HOST constant
Request::HEADER_CLIENT_IP constant
Request::HEADER_CLIENT_PORT constant
Request::HEADER_CLIENT_PROTO constant
Request::HEADER_FORWARDED constant
Request::initialize public function Sets the parameters for this request.
Request::initializeFormats protected static function Initializes HTTP request formats.
Request::isFromTrustedProxy private function
Request::isMethod public function Checks if the request method is of specified type.
Request::isMethodSafe public function Checks whether the method is safe or not.
Request::isNoCache public function
Request::isSecure public function Checks whether the request is secure or not.
Request::isXmlHttpRequest public function Returns true if the request is a XMLHttpRequest.
Request::METHOD_CONNECT constant
Request::METHOD_DELETE constant
Request::METHOD_GET constant
Request::METHOD_HEAD constant
Request::METHOD_OPTIONS constant
Request::METHOD_PATCH constant
Request::METHOD_POST constant
Request::METHOD_PURGE constant
Request::METHOD_PUT constant
Request::METHOD_TRACE constant
Request::normalizeQueryString public static function Normalizes a query string.
Request::overrideGlobals public function Overrides the PHP global variables according to this request instance.
Request::prepareBasePath protected function Prepares the base path.
Request::prepareBaseUrl protected function Prepares the base URL. 1
Request::preparePathInfo protected function Prepares the path info.
Request::prepareRequestUri protected function 1
Request::setDefaultLocale public function Sets the default locale.
Request::setFactory public static function Sets a callable able to create a Request instance.
Request::setFormat public function Associates a format with mime types.
Request::setLocale public function Sets the locale.
Request::setMethod public function Sets the request method.
Request::setPhpDefaultLocale private function Sets the default PHP locale.
Request::setRequestFormat public function Sets the request format.
Request::setSession public function Sets the Session.
Request::setTrustedHeaderName public static function Sets the name for trusted headers.
Request::setTrustedHosts public static function Sets a list of trusted host patterns.
Request::setTrustedProxies public static function Sets a list of trusted proxies.
Request::__clone public function Clones the current request.
Request::__construct public function Constructor.
Request::__toString public function Returns the request as a string.