public function Header::count

Returns the total number of header values

Return value

int

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Header.php, line 227

Class

Header
Represents a header and all of the values stored by that header

Namespace

Guzzle\Http\Message

Code

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