function DocParser::identifierEndsWithClassConstant
Same name in this branch
- 11.1.x core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php \Drupal\Component\Annotation\Doctrine\DocParser::identifierEndsWithClassConstant()
1 call to DocParser::identifierEndsWithClassConstant()
- DocParser::Constant in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ DocParser.php - Constant ::= integer | string | float | boolean
File
-
vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ DocParser.php, line 1175
Class
- DocParser
- A parser for docblock annotations.
Namespace
Doctrine\Common\AnnotationsCode
private function identifierEndsWithClassConstant(string $identifier) : bool {
return $this->getClassConstantPositionInIdentifier($identifier) === strlen($identifier) - strlen('::class');
}