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