protected function mergeSuggests(RootPackageInterface $root)
    {
        if ( ! empty($suggests = $this->getPackage()->getSuggests())) {
            static::unwrapIfNeeded($root, 'setSuggests')
                ->setSuggests(array_merge($root->getSuggests(), $suggests));
        }
    }
protected function mergeSuggests(RootPackageInterface $root)
    {
        if ( ! empty($suggests = $this->getPackage()->getSuggests())) {
            static::unwrapIfNeeded($root, 'setSuggests')
                ->setSuggests(array_merge($root->getSuggests(), $suggests));
        }
    }
protected function mergeSuggests ( RootPackageInterface $ root ) { if ( ! empty ( $ suggests = $ this -> getPackage ( ) -> getSuggests ( ) ) ) { static :: unwrapIfNeeded ( $ root , 'setSuggests' ) -> setSuggests ( array_merge ( $ root -> getSuggests ( ) , $ suggests ) ) ; } }
Merge suggested packages into a RootPackage.

@param  \Composer\Package\RootPackageInterface  $root
Merge suggested packages into a RootPackage .