Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
HeaderBag.php
function HeaderBag::count
Returns the number of headers.
File
vendor/
symfony/
http-foundation/
HeaderBag.php
, line 252
Class
HeaderBag
HeaderBag is a container for HTTP headers.
Namespace
Symfony\Component\HttpFoundation
Code
public
function
count
() : int {
return
\count
(
$this
->
headers
); }
RSS feed