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

@param RootPackageInterface $root
Merge suggested packages into a RootPackageInterface