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

Breadcrumb

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

function Name::isRelative

Checks whether the name is explicitly relative to the current namespace. (E.g. namespace\Name)

Return value

bool Whether the name is relative

2 methods override Name::isRelative()
FullyQualified::isRelative in vendor/nikic/php-parser/lib/PhpParser/Node/Name/FullyQualified.php
Checks whether the name is explicitly relative to the current namespace. (E.g. namespace\Name)
Relative::isRelative in vendor/nikic/php-parser/lib/PhpParser/Node/Name/Relative.php
Checks whether the name is explicitly relative to the current namespace. (E.g. namespace\Name)

File

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

Class

Name

Namespace

PhpParser\Node

Code

public function isRelative() : bool {
    return false;
}
RSS feed
Powered by Drupal