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