Exemple #1
0
 /**
  * @inheritdoc
  */
 public function accept(VisitorInterface $visitor)
 {
     if ($this->features) {
         $this->features = $visitor->visit($this->features);
     }
     $this->rules = $visitor->visitArray($this->rules);
 }
Exemple #2
0
 /**
  * {@inheritdoc}
  */
 public function accept(VisitorInterface $visitor)
 {
     if ($this->selector) {
         $this->selector = $visitor->visit($this->selector);
     }
     if ($this->arguments) {
         $this->arguments = $visitor->visitArray($this->arguments);
     }
 }
Exemple #3
0
 /**
  * @inheritdoc
  */
 public function accept(VisitorInterface $visitor)
 {
     $this->elements = $visitor->visitArray($this->elements);
     $this->extendList = $visitor->visitArray($this->extendList);
     if ($this->condition) {
         $this->condition = $visitor->visit($this->condition);
     }
 }
Exemple #4
0
 /**
  * {@inheritdoc}
  */
 public function accept(VisitorInterface $visitor)
 {
     if ($this->paths) {
         $visitor->visitArray($this->paths, true);
     } elseif ($this->selectors) {
         $this->selectors = $visitor->visitArray($this->selectors);
     }
     if ($this->rules) {
         $this->rules = $visitor->visitArray($this->rules);
     }
 }
Exemple #5
0
 /**
  * {@inheritdoc}
  */
 public function accept(VisitorInterface $visitor)
 {
     if ($this->params) {
         $this->params = $visitor->visitArray($this->params);
     }
     $this->rules = $visitor->visitArray($this->rules);
     if ($this->condition) {
         $this->condition = $visitor->visit($this->condition);
     }
 }
Exemple #6
0
 /**
  * @inheritdoc
  */
 public function accept(VisitorInterface $visitor)
 {
     if ($this->args) {
         $this->args = $visitor->visitArray($this->args);
     }
 }
Exemple #7
0
 /**
  * {@inheritdoc}
  */
 public function accept(VisitorInterface $visitor)
 {
     if ($this->rules) {
         $this->rules = $visitor->visitArray($this->rules);
     }
     if ($this->value) {
         $this->value = $visitor->visit($this->value);
     }
 }
Exemple #8
0
 /**
  * @inheritdoc
  */
 public function accept(VisitorInterface $visitor)
 {
     $this->value = $visitor->visitArray($this->value);
 }