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

Breadcrumb

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

function MetadataCollection::isDepends

File

vendor/phpunit/phpunit/src/Metadata/MetadataCollection.php, line 243

Class

MetadataCollection
@template-implements IteratorAggregate<int, Metadata>

Namespace

PHPUnit\Metadata

Code

public function isDepends() : self {
    return new self(...array_filter($this->metadata, static fn(Metadata $metadata): bool => $metadata->isDependsOnClass() || $metadata->isDependsOnMethod()));
}
RSS feed
Powered by Drupal