public function getArguments() { if (false === is_array($this->arguments)) { return $this->arguments->toArray(); } return $this->arguments; }