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

Breadcrumb

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

function ComplexityCollection::mergeWith

File

vendor/sebastian/complexity/src/Complexity/ComplexityCollection.php, line 108

Class

ComplexityCollection
@psalm-immutable

Namespace

SebastianBergmann\Complexity

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