src/Generator/Generator.php
public function setOptionComposerName($optionComposerName)
    {
        if (!empty($optionComposerName)) {
            $this->options->setComposerName($optionComposerName);
        } else {
            throw new \InvalidArgumentException('Package\'s composer name can\'t be empty', __LINE__);
        }
        return $this;
    }
public function setOptionComposerName($optionComposerName)
    {
        if (!empty($optionComposerName)) {
            $this->options->setComposerName($optionComposerName);
        } else {
            throw new \InvalidArgumentException('Package\'s composer name can\'t be empty', __LINE__);
        }
        return $this;
    }
public function setOptionComposerName ( $ optionComposerName ) { if ( ! empty ( $ optionComposerName ) ) { $ this -> options -> setComposerName ( $ optionComposerName ) ; } else { throw new \ InvalidArgumentException ( 'Package\'s composer name can\'t be empty' , __LINE__ ) ; } return $ this ; }
Sets the optionComposerName value
@param string $optionComposerName
@return Generator
Sets the optionComposerName value