private function findVendor($directory)
    {
        $vendorDirectory = $this->normalizePath($directory . '/_newup_vendor');

        if ($this->files->exists($vendorDirectory) && $this->files->isDirectory($vendorDirectory)) {
            return $vendorDirectory;
        }

        return false;
    }
private function findVendor($directory)
    {
        $vendorDirectory = $this->normalizePath($directory . '/_newup_vendor');

        if ($this->files->exists($vendorDirectory) && $this->files->isDirectory($vendorDirectory)) {
            return $vendorDirectory;
        }

        return false;
    }
private function findVendor ( $ directory ) { $ vendorDirectory = $ this -> normalizePath ( $ directory . '/_newup_vendor' ) ; if ( $ this -> files -> exists ( $ vendorDirectory ) && $ this -> files -> isDirectory ( $ vendorDirectory ) ) { return $ vendorDirectory ; } return false ; }
Gets the vendor directory location if it exists.

Returns false if the vendor directory does not exist.

@param $directory
@return bool|string
Gets the vendor directory location if it exists .