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

Breadcrumb

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

function ConstExprParser::toDoctrine

* @internal

File

vendor/phpstan/phpdoc-parser/src/Parser/ConstExprParser.php, line 48

Class

ConstExprParser

Namespace

PHPStan\PhpDocParser\Parser

Code

public function toDoctrine() : self {
    $self = new self($this->unescapeStrings, $this->quoteAwareConstExprString, [
        'lines' => $this->useLinesAttributes,
        'indexes' => $this->useIndexAttributes,
    ]);
    $self->parseDoctrineStrings = true;
    return $self;
}
RSS feed
Powered by Drupal