public function addRequire($vendor, $version)
    {
        if (!isset($this->require[$vendor])) {
            $this->require[$vendor] = $version;
        }

        return $this;
    }
public function addRequire($vendor, $version)
    {
        if (!isset($this->require[$vendor])) {
            $this->require[$vendor] = $version;
        }

        return $this;
    }
public function addRequire ( $ vendor , $ version ) { if ( ! isset ( $ this -> require [ $ vendor ] ) ) { $ this -> require [ $ vendor ] = $ version ; } return $ this ; }
Add a single require package.

@param string $vendor
The composer package vendor.
@param string $version
The composer package version.
Add a single require package .