/** * @param string $text * @param int|null $line * @param Node[] $nodes */ public function __construct($text, $line = null, array $nodes = array()) { parent::__construct($text, $line); $this->nodes = $nodes; }
/** * @param string $text * @param int|null $line * @param int $level * @param Node[] $nodes */ public function __construct($text, $line = null, $level = self::LEVEL_INFO, array $nodes = array()) { parent::__construct($text, $line); $this->level = $level; $this->nodes = $nodes; }