/** * @inheritdoc */ public function accept(VisitorInterface $visitor) { if ($this->features) { $this->features = $visitor->visit($this->features); } $this->rules = $visitor->visitArray($this->rules); }
/** * {@inheritdoc} */ public function accept(VisitorInterface $visitor) { if ($this->selector) { $this->selector = $visitor->visit($this->selector); } if ($this->arguments) { $this->arguments = $visitor->visitArray($this->arguments); } }
/** * @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); } }
/** * {@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); } }
/** * {@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); } }
/** * @inheritdoc */ public function accept(VisitorInterface $visitor) { if ($this->args) { $this->args = $visitor->visitArray($this->args); } }
/** * {@inheritdoc} */ public function accept(VisitorInterface $visitor) { if ($this->rules) { $this->rules = $visitor->visitArray($this->rules); } if ($this->value) { $this->value = $visitor->visit($this->value); } }
/** * @inheritdoc */ public function accept(VisitorInterface $visitor) { $this->value = $visitor->visitArray($this->value); }