yii\web\HeaderCollection::getCount PHP Method

getCount() public method

Returns the number of headers in the collection.
public getCount ( ) : integer
return integer the number of headers in the collection.
    public function getCount()
    {
        return count($this->_headers);
    }