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

Breadcrumb

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

function NamespaceHelper::isFullyQualifiedName

12 calls to NamespaceHelper::isFullyQualifiedName()
AbstractFullyQualifiedGlobalReference::process in vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Namespaces/AbstractFullyQualifiedGlobalReference.php
* @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint *
DisallowArrayTypeHintSyntaxSniff::getNormalizedTraversableTypeHints in vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/TypeHints/DisallowArrayTypeHintSyntaxSniff.php
*
FullyQualifiedExceptionsSniff::process in vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Namespaces/FullyQualifiedExceptionsSniff.php
* @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint *
NamespaceHelper::getFullyQualifiedTypeName in vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/NamespaceHelper.php
NamespaceHelper::resolveName in vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/NamespaceHelper.php

... See full list

File

vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/NamespaceHelper.php, line 57

Class

NamespaceHelper
Terms "unqualified", "qualified" and "fully qualified" have the same meaning as described here: http://php.net/manual/en/language.namespaces.rules.php

Namespace

SlevomatCodingStandard\Helpers

Code

public static function isFullyQualifiedName(string $typeName) : bool {
    return StringHelper::startsWith($typeName, self::NAMESPACE_SEPARATOR);
}

API Navigation

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