public function ValueContainer::count

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Extension/Twig/ValueContainer.php, line 66

Class

ValueContainer
Container for values initialized lazily from a ValueSupplierInterface.

Namespace

Assetic\Extension\Twig

Code

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