Set current destination option value
public setDestination ( string $destination ) : |
||
$destination | string | |
return |
/** * Sets the optionDestination value * @param string $optionDestination * @return Generator */ public function setOptionDestination($optionDestination) { if (!empty($optionDestination)) { $this->options->setDestination(realpath($optionDestination) . DIRECTORY_SEPARATOR); } else { throw new \InvalidArgumentException('Package\'s destination can\'t be empty', __LINE__); } return $this; }