Exemple #1
0
 /**
  * @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;
 }
Exemple #2
0
 /**
  * @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;
 }