Open Journal Systems  3.3.0
Symfony\Component\HttpFoundation\Tests\RequestContentProxy Class Reference
Inheritance diagram for Symfony\Component\HttpFoundation\Tests\RequestContentProxy:
Symfony\Component\HttpFoundation\Request

Public Member Functions

 getContent ($asResource=false)
 
- Public Member Functions inherited from Symfony\Component\HttpFoundation\Request
 __clone ()
 
 __clone ()
 
 __construct (array $query=[], array $request=[], array $attributes=[], array $cookies=[], array $files=[], array $server=[], $content=null)
 
 __construct (array $query=array(), array $request=array(), array $attributes=array(), array $cookies=array(), array $files=array(), array $server=array(), $content=null)
 
 __toString ()
 
 __toString ()
 
 duplicate (array $query=null, array $request=null, array $attributes=null, array $cookies=null, array $files=null, array $server=null)
 
 duplicate (array $query=null, array $request=null, array $attributes=null, array $cookies=null, array $files=null, array $server=null)
 
 get ($key, $default=null)
 
 get ($key, $default=null)
 
 getAcceptableContentTypes ()
 
 getAcceptableContentTypes ()
 
 getBasePath ()
 
 getBasePath ()
 
 getBaseUrl ()
 
 getBaseUrl ()
 
 getCharsets ()
 
 getCharsets ()
 
 getClientIp ()
 
 getClientIp ()
 
 getClientIps ()
 
 getClientIps ()
 
 getContentType ()
 
 getContentType ()
 
 getDefaultLocale ()
 
 getDefaultLocale ()
 
 getEncodings ()
 
 getEncodings ()
 
 getETags ()
 
 getETags ()
 
 getFormat ($mimeType)
 
 getFormat ($mimeType)
 
 getHost ()
 
 getHost ()
 
 getHttpHost ()
 
 getHttpHost ()
 
 getLanguages ()
 
 getLanguages ()
 
 getLocale ()
 
 getLocale ()
 
 getMethod ()
 
 getMethod ()
 
 getMimeType ($format)
 
 getMimeType ($format)
 
 getPassword ()
 
 getPassword ()
 
 getPathInfo ()
 
 getPathInfo ()
 
 getPort ()
 
 getPort ()
 
 getPreferredFormat (?string $default='html')
 
 getPreferredLanguage (array $locales=null)
 
 getPreferredLanguage (array $locales=null)
 
 getProtocolVersion ()
 
 getQueryString ()
 
 getQueryString ()
 
 getRealMethod ()
 
 getRealMethod ()
 
 getRelativeUriForPath ($path)
 
 getRelativeUriForPath ($path)
 
 getRequestFormat ($default='html')
 
 getRequestFormat ($default='html')
 
 getRequestUri ()
 
 getRequestUri ()
 
 getScheme ()
 
 getScheme ()
 
 getSchemeAndHttpHost ()
 
 getSchemeAndHttpHost ()
 
 getScriptName ()
 
 getScriptName ()
 
 getSession ()
 
 getSession ()
 
 getUri ()
 
 getUri ()
 
 getUriForPath ($path)
 
 getUriForPath ($path)
 
 getUser ()
 
 getUser ()
 
 getUserInfo ()
 
 getUserInfo ()
 
 hasPreviousSession ()
 
 hasPreviousSession ()
 
 hasSession ()
 
 hasSession ()
 
 initialize (array $query=[], array $request=[], array $attributes=[], array $cookies=[], array $files=[], array $server=[], $content=null)
 
 initialize (array $query=array(), array $request=array(), array $attributes=array(), array $cookies=array(), array $files=array(), array $server=array(), $content=null)
 
 isFromTrustedProxy ()
 
 isFromTrustedProxy ()
 
 isMethod ($method)
 
 isMethod ($method)
 
 isMethodCacheable ()
 
 isMethodCacheable ()
 
 isMethodIdempotent ()
 
 isMethodIdempotent ()
 
 isMethodSafe ()
 
 isMethodSafe ()
 
 isNoCache ()
 
 isNoCache ()
 
 isSecure ()
 
 isSecure ()
 
 isXmlHttpRequest ()
 
 isXmlHttpRequest ()
 
 overrideGlobals ()
 
 overrideGlobals ()
 
 setDefaultLocale ($locale)
 
 setDefaultLocale ($locale)
 
 setFormat ($format, $mimeTypes)
 
 setFormat ($format, $mimeTypes)
 
 setLocale ($locale)
 
 setLocale ($locale)
 
 setMethod ($method)
 
 setMethod ($method)
 
 setRequestFormat ($format)
 
 setRequestFormat ($format)
 
 setSession (SessionInterface $session)
 
 setSession (SessionInterface $session)
 
 setSessionFactory (callable $factory)
 

Additional Inherited Members

- Static Public Member Functions inherited from Symfony\Component\HttpFoundation\Request
static create ($uri, $method='GET', $parameters=[], $cookies=[], $files=[], $server=[], $content=null)
 
static create ($uri, $method='GET', $parameters=array(), $cookies=array(), $files=array(), $server=array(), $content=null)
 
static createFromGlobals ()
 
static createFromGlobals ()
 
static enableHttpMethodParameterOverride ()
 
static enableHttpMethodParameterOverride ()
 
static getHttpMethodParameterOverride ()
 
static getHttpMethodParameterOverride ()
 
static getMimeTypes ($format)
 
static getMimeTypes ($format)
 
static getTrustedHeaderName ($key)
 
static getTrustedHeaderSet ()
 
static getTrustedHeaderSet ()
 
static getTrustedHosts ()
 
static getTrustedHosts ()
 
static getTrustedProxies ()
 
static getTrustedProxies ()
 
static normalizeQueryString ($qs)
 
static normalizeQueryString ($qs)
 
static setFactory ($callable)
 
static setFactory ($callable)
 
static setTrustedHeaderName ($key, $value)
 
static setTrustedHosts (array $hostPatterns)
 
static setTrustedHosts (array $hostPatterns)
 
static setTrustedProxies (array $proxies)
 
static setTrustedProxies (array $proxies, int $trustedHeaderSet)
 
- Data Fields inherited from Symfony\Component\HttpFoundation\Request
 $attributes
 
 $cookies
 
 $files
 
 $headers
 
 $query
 
 $request
 
 $server
 
const HEADER_CLIENT_HOST = self::HEADER_X_FORWARDED_HOST
 
const HEADER_CLIENT_IP = self::HEADER_X_FORWARDED_FOR
 
const HEADER_CLIENT_PORT = self::HEADER_X_FORWARDED_PORT
 
const HEADER_CLIENT_PROTO = self::HEADER_X_FORWARDED_PROTO
 
const HEADER_FORWARDED = 0b00001
 
const HEADER_X_FORWARDED_ALL = 0b11110
 
const HEADER_X_FORWARDED_AWS_ELB = 0b11010
 
const HEADER_X_FORWARDED_FOR = 0b00010
 
const HEADER_X_FORWARDED_HOST = 0b00100
 
const HEADER_X_FORWARDED_PORT = 0b10000
 
const HEADER_X_FORWARDED_PROTO = 0b01000
 
const METHOD_CONNECT = 'CONNECT'
 
const METHOD_DELETE = 'DELETE'
 
const METHOD_GET = 'GET'
 
const METHOD_HEAD = 'HEAD'
 
const METHOD_OPTIONS = 'OPTIONS'
 
const METHOD_PATCH = 'PATCH'
 
const METHOD_POST = 'POST'
 
const METHOD_PURGE = 'PURGE'
 
const METHOD_PUT = 'PUT'
 
const METHOD_TRACE = 'TRACE'
 
- Protected Member Functions inherited from Symfony\Component\HttpFoundation\Request
 prepareBasePath ()
 
 prepareBasePath ()
 
 prepareBaseUrl ()
 
 prepareBaseUrl ()
 
 preparePathInfo ()
 
 preparePathInfo ()
 
 prepareRequestUri ()
 
 prepareRequestUri ()
 
- Static Protected Member Functions inherited from Symfony\Component\HttpFoundation\Request
static initializeFormats ()
 
static initializeFormats ()
 
- Protected Attributes inherited from Symfony\Component\HttpFoundation\Request
 $acceptableContentTypes
 
 $basePath
 
 $baseUrl
 
 $charsets
 
 $content
 
 $defaultLocale = 'en'
 
 $encodings
 
 $format
 
 $languages
 
 $locale
 
 $method
 
 $pathInfo
 
 $requestUri
 
 $session
 
- Static Protected Attributes inherited from Symfony\Component\HttpFoundation\Request
static $formats
 
static $httpMethodParameterOverride = false
 
static $requestFactory
 
static $trustedHeaders
 
static $trustedHostPatterns = array()
 
static $trustedHosts = array()
 
static $trustedProxies = array()
 

Detailed Description

Member Function Documentation

◆ getContent()

Symfony\Component\HttpFoundation\Tests\RequestContentProxy::getContent (   $asResource = false)

Returns the request body content.

Parameters
bool$asResourceIf true, a resource will be returned
Returns
string|resource The request body content or a resource to read the body stream
Exceptions

Reimplemented from Symfony\Component\HttpFoundation\Request.

Definition at line 2195 of file symfony/http-foundation/Tests/RequestTest.php.


The documentation for this class was generated from the following file: