writer = $writer; } /** * @param Minus $minus * * @return string */ public function write(Minus $minus) { $first = $this->writer->write($minus->getFirst()); $second = $this->writer->write($minus->getSecond()); return $first."\n".Minus::MINUS."\n".$second; } }