You are here

public function ParameterBag::count in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/ParameterBag.php \Symfony\Component\HttpFoundation\ParameterBag::count()

Returns the number of parameters.

Return value

int The number of parameters

File

vendor/symfony/http-foundation/ParameterBag.php, line 287

Class

ParameterBag
ParameterBag is a container for key/value pairs.

Namespace

Symfony\Component\HttpFoundation

Code

public function count() {
  return count($this->parameters);
}