Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5952943
ParserConfig.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
551 B
Referenced Files
None
Subscribers
None
ParserConfig.php
View Options
<?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
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 3 2026, 01:48 (4 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d7/60/11b3295fd7b5061cd5f8b845c820
Default Alt Text
ParserConfig.php (551 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment