class ServerBag

ServerBag is a container for HTTP headers from the $_SERVER variable.

@author Fabien Potencier <fabien@symfony.com> @author Bulat Shakirzyanov <mallluhuct@gmail.com> @author Robert Kiss <kepten@gmail.com>

Hierarchy

  • class \Symfony\Component\HttpFoundation\ParameterBag implements \Symfony\Component\HttpFoundation\IteratorAggregate, \Symfony\Component\HttpFoundation\Countable
    • class \Symfony\Component\HttpFoundation\ServerBag

Expanded class hierarchy of ServerBag

1 file declares its use of ServerBag

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/ServerBag.php, line 21

Namespace

Symfony\Component\HttpFoundation
View source

Members

Namesort descending Modifiers Type Description Overrides
ParameterBag::$parameters protected property Parameter storage.
ParameterBag::add public function Adds parameters. 2
ParameterBag::all public function Returns the parameters.
ParameterBag::count public function Returns the number of parameters.
ParameterBag::filter public function Filter key.
ParameterBag::get public function Returns a parameter by name.
ParameterBag::getAlnum public function Returns the alphabetic characters and digits of the parameter value.
ParameterBag::getAlpha public function Returns the alphabetic characters of the parameter value.
ParameterBag::getDigits public function Returns the digits of the parameter value.
ParameterBag::getInt public function Returns the parameter value converted to integer.
ParameterBag::getIterator public function Returns an iterator for parameters.
ParameterBag::has public function Returns true if the parameter is defined.
ParameterBag::keys public function Returns the parameter keys.
ParameterBag::remove public function Removes a parameter.
ParameterBag::replace public function Replaces the current parameters by a new set. 1
ParameterBag::set public function Sets a parameter by name. 2
ParameterBag::__construct public function Constructor. 2
ServerBag::getHeaders public function Gets the HTTP headers.