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

Breadcrumb

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

function Name::isQualified

Checks whether the name is qualified. (E.g. Name\Name)

Return value

bool Whether the name is qualified

2 methods override Name::isQualified()
FullyQualified::isQualified in vendor/nikic/php-parser/lib/PhpParser/Node/Name/FullyQualified.php
Checks whether the name is qualified. (E.g. Name\Name)
Relative::isQualified in vendor/nikic/php-parser/lib/PhpParser/Node/Name/Relative.php
Checks whether the name is qualified. (E.g. Name\Name)

File

vendor/nikic/php-parser/lib/PhpParser/Node/Name.php, line 84

Class

Name

Namespace

PhpParser\Node

Code

public function isQualified() : bool {
    return false !== \strpos($this->name, '\\');
}
RSS feed
Powered by Drupal