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

Breadcrumb

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

Printer::$listInsertionMap

* Map From "{$class}->{$subNode}" to string that should be inserted * between elements of this list subnode * *

Type: array

File

vendor/phpstan/phpdoc-parser/src/Printer/Printer.php, line 100

Class

Printer
Inspired by https://github.com/nikic/PHP-Parser/tree/36a6dcd04e7b0285e8f0868f44bd49…

Namespace

PHPStan\PhpDocParser\Printer

Code

private $listInsertionMap = [
    PhpDocNode::class . '->children' => "\n * ",
    UnionTypeNode::class . '->types' => '|',
    IntersectionTypeNode::class . '->types' => '&',
    ArrayShapeNode::class . '->items' => ', ',
    ObjectShapeNode::class . '->items' => ', ',
    CallableTypeNode::class . '->parameters' => ', ',
    CallableTypeNode::class . '->templateTypes' => ', ',
    GenericTypeNode::class . '->genericTypes' => ', ',
    ConstExprArrayNode::class . '->items' => ', ',
    MethodTagValueNode::class . '->parameters' => ', ',
    DoctrineArray::class . '->items' => ', ',
    DoctrineAnnotation::class . '->arguments' => ', ',
];

API Navigation

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