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

Breadcrumb

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

function Complexity::__construct

@psalm-param non-empty-string $name @psalm-param positive-int $cyclomaticComplexity

File

vendor/sebastian/complexity/src/Complexity/Complexity.php, line 33

Class

Complexity
@psalm-immutable

Namespace

SebastianBergmann\Complexity

Code

public function __construct(string $name, int $cyclomaticComplexity) {
    $this->name = $name;
    $this->cyclomaticComplexity = $cyclomaticComplexity;
}

API Navigation

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