<?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;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Ast | Folder | 0755 |
|
|
| Lexer | Folder | 0755 |
|
|
| Parser | Folder | 0755 |
|
|
| Printer | Folder | 0755 |
|
|
| ParserConfig.php | File | 551 B | 0644 |
|