public function HeaderBag::count

Returns the number of headers.

Return value

int The number of headers

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/HeaderBag.php, line 282

Class

HeaderBag
HeaderBag is a container for HTTP headers.

Namespace

Symfony\Component\HttpFoundation

Code

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