private function mergeDevAutoload(RootPackageInterface $root)
    {
        if ( ! empty($autoload = $this->getPackage()->getDevAutoload())) {
            static::unwrapIfNeeded($root, 'setDevAutoload')
                ->setDevAutoload(array_merge_recursive(
                    $root->getDevAutoload(), Util::fixRelativePaths($this->getPath(), $autoload)
                ));
        }
    }
private function mergeDevAutoload(RootPackageInterface $root)
    {
        if ( ! empty($autoload = $this->getPackage()->getDevAutoload())) {
            static::unwrapIfNeeded($root, 'setDevAutoload')
                ->setDevAutoload(array_merge_recursive(
                    $root->getDevAutoload(), Util::fixRelativePaths($this->getPath(), $autoload)
                ));
        }
    }
private function mergeDevAutoload ( RootPackageInterface $ root ) { if ( ! empty ( $ autoload = $ this -> getPackage ( ) -> getDevAutoload ( ) ) ) { static :: unwrapIfNeeded ( $ root , 'setDevAutoload' ) -> setDevAutoload ( array_merge_recursive ( $ root -> getDevAutoload ( ) , Util :: fixRelativePaths ( $ this -> getPath ( ) , $ autoload ) ) ) ; } }
Merge autoload-dev into a RootPackage.

@param  \Composer\Package\RootPackageInterface  $root
Merge autoload - dev into a RootPackage .