the whole shebang
This commit is contained in:
31
vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/TraitUseAdaptation/Alias.php
vendored
Normal file
31
vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/TraitUseAdaptation/Alias.php
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @property null|PHPParser_Node_Name $trait Trait name
|
||||
* @property string $method Method name
|
||||
* @property null|int $newModifier New modifier
|
||||
* @property null|string $newName New name
|
||||
*/
|
||||
class PHPParser_Node_Stmt_TraitUseAdaptation_Alias extends PHPParser_Node_Stmt_TraitUseAdaptation
|
||||
{
|
||||
/**
|
||||
* Constructs a trait use precedence adaptation node.
|
||||
*
|
||||
* @param null|PHPParser_Node_Name $trait Trait name
|
||||
* @param string $method Method name
|
||||
* @param null|int $newModifier New modifier
|
||||
* @param null|string $newName New name
|
||||
* @param array $attributes Additional attributes
|
||||
*/
|
||||
public function __construct($trait, $method, $newModifier, $newName, array $attributes = array()) {
|
||||
parent::__construct(
|
||||
array(
|
||||
'trait' => $trait,
|
||||
'method' => $method,
|
||||
'newModifier' => $newModifier,
|
||||
'newName' => $newName,
|
||||
),
|
||||
$attributes
|
||||
);
|
||||
}
|
||||
}
|
28
vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/TraitUseAdaptation/Precedence.php
vendored
Normal file
28
vendor/nikic/php-parser/lib/PHPParser/Node/Stmt/TraitUseAdaptation/Precedence.php
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @property PHPParser_Node_Name $trait Trait name
|
||||
* @property string $method Method name
|
||||
* @property PHPParser_Node_Name[] $insteadof Overwritten traits
|
||||
*/
|
||||
class PHPParser_Node_Stmt_TraitUseAdaptation_Precedence extends PHPParser_Node_Stmt_TraitUseAdaptation
|
||||
{
|
||||
/**
|
||||
* Constructs a trait use precedence adaptation node.
|
||||
*
|
||||
* @param PHPParser_Node_Name $trait Trait name
|
||||
* @param string $method Method name
|
||||
* @param PHPParser_Node_Name[] $insteadof Overwritten traits
|
||||
* @param array $attributes Additional attributes
|
||||
*/
|
||||
public function __construct(PHPParser_Node_Name $trait, $method, array $insteadof, array $attributes = array()) {
|
||||
parent::__construct(
|
||||
array(
|
||||
'trait' => $trait,
|
||||
'method' => $method,
|
||||
'insteadof' => $insteadof,
|
||||
),
|
||||
$attributes
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user