PHP Class eZ\Publish\Core\MVC\Symfony\Routing\SimplifiedRequest

Inheritance: extends eZ\Publish\API\Repository\Values\ValueObject
ファイルを表示 Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Property Type Description
$headers array Hash of request headers.
$host string The host name.
$languages array The languages are ordered in the user browser preferences.
$pathinfo string The path info always starts with a /.
$port string The port the request is made on.
$queryParams array Array of parameters extracted from the query string.
$scheme string The request scheme (http or https).

Public Methods

Method Description
__sleep ( )
fromUrl ( string $url ) : SimplifiedRequest Constructs a SimplifiedRequest object from a standard URL (http://www.example.com/foo/bar?queryParam=value).
setHeaders ( array $headers )
setHost ( string $host )
setLanguages ( array $languages )
setPathinfo ( string $pathinfo )
setPort ( string $port )
setQueryParams ( array $queryParams )
setScheme ( string $scheme )

Method Details

__sleep() public method

public __sleep ( )

fromUrl() public static method

Constructs a SimplifiedRequest object from a standard URL (http://www.example.com/foo/bar?queryParam=value).
public static fromUrl ( string $url ) : SimplifiedRequest
$url string
return SimplifiedRequest

setHeaders() public method

public setHeaders ( array $headers )
$headers array

setHost() public method

public setHost ( string $host )
$host string

setLanguages() public method

public setLanguages ( array $languages )
$languages array

setPathinfo() public method

public setPathinfo ( string $pathinfo )
$pathinfo string

setPort() public method

public setPort ( string $port )
$port string

setQueryParams() public method

public setQueryParams ( array $queryParams )
$queryParams array

setScheme() public method

public setScheme ( string $scheme )
$scheme string

Property Details

$headers protected_oe property

Hash of request headers.
protected array $headers
return array

$host protected_oe property

The host name.
protected string $host
return string

$languages protected_oe property

The languages are ordered in the user browser preferences.
protected array $languages
return array

$pathinfo protected_oe property

The path info always starts with a /.
protected string $pathinfo
return string

$port protected_oe property

The port the request is made on.
protected string $port
return string

$queryParams protected_oe property

Array of parameters extracted from the query string.
protected array $queryParams
return array

$scheme protected_oe property

The request scheme (http or https).
protected string $scheme
return string