You are here

public function AttributeBag::count in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php \Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag::count()

Returns the number of attributes.

Return value

int The number of attributes

File

vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php, line 153

Class

AttributeBag
This class relates to session attribute storage.

Namespace

Symfony\Component\HttpFoundation\Session\Attribute

Code

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