Файл: gapps/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/DeclareDeclare.php
Строк: 16
<?php
namespace PhpParserNodeStmt;
use PhpParserNode;
class DeclareDeclare extends NodeStmt
{
/** @var string Key */
public $key;
/** @var NodeExpr Value */
public $value;
/**
* Constructs a declare key=>value pair node.
*
* @param string $key Key
* @param NodeExpr $value Value
* @param array $attributes Additional attributes
*/
public function __construct($key, NodeExpr $value, array $attributes = array()) {
parent::__construct($attributes);
$this->key = $key;
$this->value = $value;
}
public function getSubNodeNames() {
return array('key', 'value');
}
}