setOptions($options); } /** @return ListenerOptions */ public function getOptions() { return $this->options; } /** * @param ListenerOptions $options the value to be set * @return AbstractListener */ public function setOptions(ListenerOptions $options) { $this->options = $options; return $this; } /** * Write a simple array of scalars to a file * * @param string $filePath * @param array $array * @return AbstractListener */ protected function writeArrayToFile($filePath, $array) { try { $content = "