/** * @return string * @throws InvalidArgumentException */ public function getDestination() { if (!$this->destination) { throw InvalidArgumentException::destinationConfigurationIsMissing(); } return $this->destination; }