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

Inheritance: extends eZ\Publish\API\Repository\Values\ValueObject
Afficher le fichier Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Свойство 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).

Méthodes publiques

Méthode 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 méthode

public __sleep ( )

fromUrl() public static méthode

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

setHeaders() public méthode

public setHeaders ( array $headers )
$headers array

setHost() public méthode

public setHost ( string $host )
$host string

setLanguages() public méthode

public setLanguages ( array $languages )
$languages array

setPathinfo() public méthode

public setPathinfo ( string $pathinfo )
$pathinfo string

setPort() public méthode

public setPort ( string $port )
$port string

setQueryParams() public méthode

public setQueryParams ( array $queryParams )
$queryParams array

setScheme() public méthode

public setScheme ( string $scheme )
$scheme string

Property Details

$headers protected_oe property

Hash of request headers.
protected array $headers
Résultat array

$host protected_oe property

The host name.
protected string $host
Résultat string

$languages protected_oe property

The languages are ordered in the user browser preferences.
protected array $languages
Résultat array

$pathinfo protected_oe property

The path info always starts with a /.
protected string $pathinfo
Résultat string

$port protected_oe property

The port the request is made on.
protected string $port
Résultat string

$queryParams protected_oe property

Array of parameters extracted from the query string.
protected array $queryParams
Résultat array

$scheme protected_oe property

The request scheme (http or https).
protected string $scheme
Résultat string