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

Breadcrumb

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

function Complexity::isMethod

1 call to Complexity::isMethod()
Complexity::isFunction in vendor/sebastian/complexity/src/Complexity/Complexity.php

File

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

Class

Complexity
@psalm-immutable

Namespace

SebastianBergmann\Complexity

Code

public function isMethod() : bool {
    return str_contains($this->name, '::');
}

API Navigation

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