/** * {@inheritDoc} */ public function visitIncludeTerm(Node\IncludeTerm $term) { $this->printIndentedLine('IncludeTerm'); $this->increaseIndent(); $term->getSubExpression()->accept($this); $this->decreaseIndent(); }
public function testToArray() { $array = ['Operator' => 'Include Term', 'Expression' => $this->word]; $this->assertEquals($array, $this->includeTerm->toArray()); }