DocParser::$typeMap
Same name in other branches
- 8.9.x core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php \Drupal\Component\Annotation\Doctrine\DocParser::typeMap
- 10 core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php \Drupal\Component\Annotation\Doctrine\DocParser::typeMap
- 11.x core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php \Drupal\Component\Annotation\Doctrine\DocParser::typeMap
Hash-map for handle types declaration.
Type: array
File
-
core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ DocParser.php, line 227
Class
- DocParser
- A parser for docblock annotations.
Namespace
Drupal\Component\Annotation\DoctrineCode
private static $typeMap = array(
'float' => 'double',
'bool' => 'boolean',
// allow uppercase Boolean in honor of George Boole
'Boolean' => 'boolean',
'int' => 'integer',
);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.