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

Breadcrumb

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

function CodeUnitCollection::mergeWith

File

vendor/sebastian/code-unit/src/CodeUnitCollection.php, line 65

Class

CodeUnitCollection
@template-implements IteratorAggregate<int, CodeUnit>

Namespace

SebastianBergmann\CodeUnit

Code

public function mergeWith(self $other) : self {
    return new self(array_merge($this->asArray(), $other->asArray()));
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal