public function mergeInto(RootPackageInterface $root, PluginState $state)
    {
        $this->prependRepositories($root);

        $this->mergeRequires('require', $root, $state);

        $this->mergePackageLinks('conflict', $root);
        $this->mergePackageLinks('replace', $root);
        $this->mergePackageLinks('provide', $root);

        $this->mergeSuggests($root);

        $this->mergeAutoload('autoload', $root);

        $this->mergeExtra($root, $state);

        $this->mergeScripts($root, $state);

        if ($state->isDevMode()) {
            $this->mergeDevInto($root, $state);
        } else {
            $this->mergeReferences($root);
        }
    }
public function mergeInto(RootPackageInterface $root, PluginState $state)
    {
        $this->prependRepositories($root);

        $this->mergeRequires('require', $root, $state);

        $this->mergePackageLinks('conflict', $root);
        $this->mergePackageLinks('replace', $root);
        $this->mergePackageLinks('provide', $root);

        $this->mergeSuggests($root);

        $this->mergeAutoload('autoload', $root);

        $this->mergeExtra($root, $state);

        $this->mergeScripts($root, $state);

        if ($state->isDevMode()) {
            $this->mergeDevInto($root, $state);
        } else {
            $this->mergeReferences($root);
        }
    }
public function mergeInto ( RootPackageInterface $ root , PluginState $ state ) { $ this -> prependRepositories ( $ root ) ; $ this -> mergeRequires ( 'require' , $ root , $ state ) ; $ this -> mergePackageLinks ( 'conflict' , $ root ) ; $ this -> mergePackageLinks ( 'replace' , $ root ) ; $ this -> mergePackageLinks ( 'provide' , $ root ) ; $ this -> mergeSuggests ( $ root ) ; $ this -> mergeAutoload ( 'autoload' , $ root ) ; $ this -> mergeExtra ( $ root , $ state ) ; $ this -> mergeScripts ( $ root , $ state ) ; if ( $ state -> isDevMode ( ) ) { $ this -> mergeDevInto ( $ root , $ state ) ; } else { $ this -> mergeReferences ( $ root ) ; } }
Merge this package into a RootPackageInterface

@param RootPackageInterface $root
@param PluginState $state
Merge this package into a RootPackageInterface