Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1431834
VarLinksSet.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
VarLinksSet.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
SecurityCheckPlugin
;
use
Phan\Language\Element\TypedElementInterface
;
use
Phan\Library\Set
;
/**
* Convenience class for better type inference.
*
* @method PreservedTaintedness offsetGet( \Phan\Language\Element\TypedElementInterface $object )
* @method offsetSet( \Phan\Language\Element\TypedElementInterface $object, PreservedTaintedness $data )
* @method void attach(TypedElementInterface $object, PreservedTaintedness $data)
* @method TypedElementInterface current()
* @phan-file-suppress PhanParamSignatureMismatch,PhanParamSignaturePHPDocMismatchParamType
* @phan-file-suppress PhanParamSignaturePHPDocMismatchTooManyRequiredParameters
*/
class
VarLinksSet
extends
Set
{
public
function
__toString
():
string
{
$children
=
[];
foreach
(
$this
as
$var
)
{
$children
[]
=
$var
->
getName
()
.
': '
.
$this
[
$var
]->
toShortString
();
}
return
'['
.
implode
(
','
,
$children
)
.
']'
;
}
public
function
__clone
()
{
foreach
(
$this
as
$var
)
{
$this
[
$var
]
=
clone
$this
[
$var
];
}
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 21:07 (1 d, 20 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
db/c7/0ab63d5fbe32c02acfb154e56521
Default Alt Text
VarLinksSet.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment