File "ParserConfig.php"
Full path: /var/www/html/back/vendor/phpstan/phpdoc-parser/src/ParserConfig.php
File
size: 0.54 KB (551 B bytes)
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor Back
<?php declare(strict_types = 1);
namespace PHPStan\PhpDocParser;
class ParserConfig
{
public bool $useLinesAttributes;
public bool $useIndexAttributes;
public bool $useCommentsAttributes;
/**
* @param array{lines?: bool, indexes?: bool, comments?: bool} $usedAttributes
*/
public function __construct(array $usedAttributes)
{
$this->useLinesAttributes = $usedAttributes['lines'] ?? false;
$this->useIndexAttributes = $usedAttributes['indexes'] ?? false;
$this->useCommentsAttributes = $usedAttributes['comments'] ?? false;
}
}