yii\base\Application::getVendorPath PHP Method

getVendorPath() public method

Returns the directory that stores vendor files.
public getVendorPath ( ) : string
return string the directory that stores vendor files. Defaults to "vendor" directory under [[basePath]].
    public function getVendorPath()
    {
        if ($this->_vendorPath === null) {
            $this->setVendorPath($this->getBasePath() . DIRECTORY_SEPARATOR . 'vendor');
        }
        return $this->_vendorPath;
    }