function DocParser::identifierEndsWithClassConstant
Same name in other branches
- 10 core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php \Drupal\Component\Annotation\Doctrine\DocParser::identifierEndsWithClassConstant()
1 call to DocParser::identifierEndsWithClassConstant()
- DocParser::Constant in core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ DocParser.php - Constant ::= integer | string | float | boolean
File
-
core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ DocParser.php, line 964
Class
- DocParser
- A parser for docblock annotations.
Namespace
Drupal\Component\Annotation\DoctrineCode
private function identifierEndsWithClassConstant(string $identifier) : bool {
return $this->getClassConstantPositionInIdentifier($identifier) === strlen($identifier) - strlen('::class');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.