the whole shebang
This commit is contained in:
25
vendor/nikic/php-parser/lib/PHPParser/Node/Expr/Yield.php
vendored
Normal file
25
vendor/nikic/php-parser/lib/PHPParser/Node/Expr/Yield.php
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @property null|PHPParser_Node_Expr $value Value expression
|
||||
* @property null|PHPParser_Node_Expr $key Key expression
|
||||
*/
|
||||
class PHPParser_Node_Expr_Yield extends PHPParser_Node_Expr
|
||||
{
|
||||
/**
|
||||
* Constructs a yield expression node.
|
||||
*
|
||||
* @param null|PHPParser_Node_Expr $value ´ Value expression
|
||||
* @param null|PHPParser_Node_Expr $key Key expression
|
||||
* @param array $attributes Additional attributes
|
||||
*/
|
||||
public function __construct(PHPParser_Node_Expr $value = null, PHPParser_Node_Expr $key = null, array $attributes = array()) {
|
||||
parent::__construct(
|
||||
array(
|
||||
'key' => $key,
|
||||
'value' => $value,
|
||||
),
|
||||
$attributes
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user