yii\web\HeaderCollection::getCount PHP Méthode

getCount() public méthode

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