1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-12 17:37:21 +01:00
PHP-Parser/lib/PHPParser/Node/Stmt/TraitUse.php
2012-09-07 23:41:54 +02:00

25 lines
839 B
PHP

<?php
/**
* @property PHPParser_Node_Name[] $traits Traits
* @property PHPParser_Node_Stmt_TraitUseAdaptation[] $adaptations Adaptations
*/
class PHPParser_Node_Stmt_TraitUse extends PHPParser_Node_Stmt
{
/**
* Constructs a trait use node.
*
* @param PHPParser_Node_Name[] $traits Traits
* @param PHPParser_Node_Stmt_TraitUseAdaptation[] $adaptations Adaptations
* @param array $attributes Additional attributes
*/
public function __construct(array $traits, array $adaptations = array(), array $attributes = array()) {
parent::__construct(
array(
'traits' => $traits,
'adaptations' => $adaptations,
),
$attributes
);
}
}