Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7401341
TraitUse.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
898 B
Referenced Files
None
Subscribers
None
TraitUse.php
View Options
<?php
declare
(
strict_types
=
1
);
namespace
PhpParser\Node\Stmt
;
use
PhpParser\Node
;
class
TraitUse
extends
Node\Stmt
{
/** @var Node\Name[] Traits */
public
$traits
;
/** @var TraitUseAdaptation[] Adaptations */
public
$adaptations
;
/**
* Constructs a trait use node.
*
* @param Node\Name[] $traits Traits
* @param TraitUseAdaptation[] $adaptations Adaptations
* @param array $attributes Additional attributes
*/
public
function
__construct
(
array
$traits
,
array
$adaptations
=
[],
array
$attributes
=
[])
{
$this
->
attributes
=
$attributes
;
$this
->
traits
=
$traits
;
$this
->
adaptations
=
$adaptations
;
}
public
function
getSubNodeNames
()
:
array
{
return
[
'traits'
,
'adaptations'
];
}
public
function
getType
()
:
string
{
return
'Stmt_TraitUse'
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 21, 17:23 (14 h, 1 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
93/75/616f8ea4e4d90dffeefaa6c70850
Default Alt Text
TraitUse.php (898 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment