Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RewindableGenerator.php

function RewindableGenerator::count

File

vendor/symfony/dependency-injection/Argument/RewindableGenerator.php, line 35

Class

RewindableGenerator
@internal

Namespace

Symfony\Component\DependencyInjection\Argument

Code

public function count() : int {
    if (!\is_int($count = $this->count)) {
        $this->count = $count();
    }
    return $this->count;
}
RSS feed
Powered by Drupal