hiqdev\assetpackagist\models\AssetPackage::getCommonComposer PHP Method

getCommonComposer() public static method

public static getCommonComposer ( ) : Composer\Composer
return Composer\Composer
    public static function getCommonComposer()
    {
        if (static::$_commonComposer === null) {
            static::$_commonComposer = (new Factory())->createComposer(new NullIO(), Yii::getAlias('@composer/composer.json'), false, Yii::getAlias('@composer'));
        }
        return static::$_commonComposer;
    }