Property | Type | Description | |
---|---|---|---|
$request | null | |
||
$requestStack | Symfony\Component\HttpFoundation\RequestStack |
Method | Description | |
---|---|---|
__construct ( Symfony\Component\HttpFoundation\RequestStack $requestStack ) | Constructor | |
getAttributesBagParam ( string $name, $default = null, integer $filter = FILTER_SANITIZE_SPECIAL_CHARS ) | ||
getCurrentCurrency ( ) : string | ||
getCurrentHost ( ) | ||
getCurrentLocale ( ) : string | ||
getCurrentRequest ( ) | ||
getQueryBagParam ( string $name, $default = null, integer $filter = FILTER_SANITIZE_SPECIAL_CHARS ) | ||
getRequestBagParam ( string $name, $default = null, integer $filter = FILTER_SANITIZE_SPECIAL_CHARS ) | ||
getSessionAttribute ( string $name, $default = null ) | ||
getSessionId ( ) : string | ||
getSessionName ( ) : string | ||
hasAttributesBagParam ( string $name ) : boolean | ||
hasAttributesBagParams ( array $params = [] ) : boolean | ||
hasRequestBagParam ( string $name ) : boolean | ||
hasRequestBagParams ( array $params = [] ) : boolean | ||
hasSessionAttribute ( string $name ) : boolean | ||
setSessionAttribute ( string $name, $value ) |
public __construct ( Symfony\Component\HttpFoundation\RequestStack $requestStack ) | ||
$requestStack | Symfony\Component\HttpFoundation\RequestStack |
public getAttributesBagParam ( string $name, $default = null, integer $filter = FILTER_SANITIZE_SPECIAL_CHARS ) | ||
$name | string | |
$filter | integer |
public getQueryBagParam ( string $name, $default = null, integer $filter = FILTER_SANITIZE_SPECIAL_CHARS ) | ||
$name | string | |
$filter | integer |
public getRequestBagParam ( string $name, $default = null, integer $filter = FILTER_SANITIZE_SPECIAL_CHARS ) | ||
$name | string | |
$filter | integer |
public getSessionAttribute ( string $name, $default = null ) | ||
$name | string |
public hasAttributesBagParam ( string $name ) : boolean | ||
$name | string | |
return | boolean |
public hasAttributesBagParams ( array $params = [] ) : boolean | ||
$params | array | |
return | boolean |
public hasRequestBagParam ( string $name ) : boolean | ||
$name | string | |
return | boolean |
public hasRequestBagParams ( array $params = [] ) : boolean | ||
$params | array | |
return | boolean |
public hasSessionAttribute ( string $name ) : boolean | ||
$name | string | |
return | boolean |
public setSessionAttribute ( string $name, $value ) | ||
$name | string |
protected null|Request,Symfony\Component\HttpFoundation $request | ||
return | null | |