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

Breadcrumb

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

function MetadataCollection::mergeWith

File

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

Class

MetadataCollection
@template-implements IteratorAggregate<int, Metadata>

Namespace

PHPUnit\Metadata

Code

public function mergeWith(self $other) : self {
    return new self(...array_merge($this->asArray(), $other->asArray()));
}
RSS feed
Powered by Drupal