public function setPrettyPrinter(PrettyPrinter $prettyPrinter) { $this->prettyPrinter = $prettyPrinter; return $this; }