protected function initBranchLazyPackage(VcsDriverInterface $driver, array $data, $branch, $identifier)
    {
        $packageClass = 'Fxp\Composer\AssetPlugin\Package\LazyCompletePackage';
        $packageData = $this->preProcessAsset($data);
        /** @var LazyCompletePackage $package */
        $package = $this->loader->load($packageData, $packageClass);
        $lazyLoader = $this->createLazyLoader('branch', $identifier, $packageData, $driver);
        $package->setLoader($lazyLoader);
        $package = $this->includeBranchAlias($driver, $package, $branch);

        $this->addPackage($package);
    }
protected function initBranchLazyPackage(VcsDriverInterface $driver, array $data, $branch, $identifier)
    {
        $packageClass = 'Fxp\Composer\AssetPlugin\Package\LazyCompletePackage';
        $packageData = $this->preProcessAsset($data);
        /** @var LazyCompletePackage $package */
        $package = $this->loader->load($packageData, $packageClass);
        $lazyLoader = $this->createLazyLoader('branch', $identifier, $packageData, $driver);
        $package->setLoader($lazyLoader);
        $package = $this->includeBranchAlias($driver, $package, $branch);

        $this->addPackage($package);
    }
protected function initBranchLazyPackage ( VcsDriverInterface $ driver , array $ data , $ branch , $ identifier ) { $ packageClass = 'Fxp\Composer\AssetPlugin\Package\LazyCompletePackage' ; $ packageData = $ this -> preProcessAsset ( $ data ) ; /** @var LazyCompletePackage $package */ $ package = $ this -> loader -> load ( $ packageData , $ packageClass ) ; $ lazyLoader = $ this -> createLazyLoader ( 'branch' , $ identifier , $ packageData , $ driver ) ; $ package -> setLoader ( $ lazyLoader ) ; $ package = $ this -> includeBranchAlias ( $ driver , $ package , $ branch ) ; $ this -> addPackage ( $ package ) ; }
Inits the branch of lazy package.

@param VcsDriverInterface $driver     The vcs driver
@param array              $data       The package data
@param string             $branch     The branch name
@param string             $identifier The branch identifier
Inits the branch of lazy package .