Файл: gapps/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Return_.php
Строк: 21
<?php
namespace PhpParserNodeStmt;
use PhpParserNode;
class Return_ extends NodeStmt
{
/** @var null|NodeExpr Expression */
public $expr;
/**
* Constructs a return node.
*
* @param null|NodeExpr $expr Expression
* @param array $attributes Additional attributes
*/
public function __construct(NodeExpr $expr = null, array $attributes = array()) {
parent::__construct($attributes);
$this->expr = $expr;
}
public function getSubNodeNames() {
return array('expr');
}
}