DocParser::$typeMap

Hash-map for handle types declaration.

Type: array

File

core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php, line 224

Class

DocParser
A parser for docblock annotations.

Namespace

Drupal\Component\Annotation\Doctrine

Code

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.