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

Breadcrumb

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

function CompositeRepository::count

@inheritDoc

File

vendor/composer/composer/src/Composer/Repository/CompositeRepository.php, line 179

Class

CompositeRepository
Composite repository.

Namespace

Composer\Repository

Code

public function count() : int {
    $total = 0;
    foreach ($this->repositories as $repository) {
        
        /* @var $repository RepositoryInterface */
        $total += $repository->count();
    }
    return $total;
}
RSS feed
Powered by Drupal