protected function mergeStabilityFlags(RootPackageInterface $root, array $requires)
    {
        $flags = StabilityFlags::extract(
            $root->getStabilityFlags(),
            $root->getMinimumStability(),
            $requires
        );

        self::unwrapIfNeeded($root, 'setStabilityFlags')
            ->setStabilityFlags($flags);
    }
protected function mergeStabilityFlags(RootPackageInterface $root, array $requires)
    {
        $flags = StabilityFlags::extract(
            $root->getStabilityFlags(),
            $root->getMinimumStability(),
            $requires
        );

        self::unwrapIfNeeded($root, 'setStabilityFlags')
            ->setStabilityFlags($flags);
    }
protected function mergeStabilityFlags ( RootPackageInterface $ root , array $ requires ) { $ flags = StabilityFlags :: extract ( $ root -> getStabilityFlags ( ) , $ root -> getMinimumStability ( ) , $ requires ) ; self :: unwrapIfNeeded ( $ root , 'setStabilityFlags' ) -> setStabilityFlags ( $ flags ) ; }
Extract and merge stability flags from the given collection of
requires and merge them into a RootPackage.

@param  \Composer\Package\RootPackageInterface  $root
@param  \Composer\Package\Link[]                $requires
Extract and merge stability flags from the given collection of requires and merge them into a RootPackage .