protected function prepare($action, Composer $composer, IOInterface $io, $pluginName)
    {
        $this->composer = $composer;
        $this->io = $io;
        
        if ($this->isPluginExcluded($action, $pluginName)) {
            return $this->excluded($action, $pluginName) && false;
        }
        
        $plugin = $this->getPlugin($pluginName);
        
        if (! $plugin) {
            return $this->failed($action, $pluginName) && false;
        }
        
        $this->executing($action, $pluginName);
        
        return $plugin;
    }
protected function prepare($action, Composer $composer, IOInterface $io, $pluginName)
    {
        $this->composer = $composer;
        $this->io = $io;
        
        if ($this->isPluginExcluded($action, $pluginName)) {
            return $this->excluded($action, $pluginName) && false;
        }
        
        $plugin = $this->getPlugin($pluginName);
        
        if (! $plugin) {
            return $this->failed($action, $pluginName) && false;
        }
        
        $this->executing($action, $pluginName);
        
        return $plugin;
    }
protected function prepare ( $ action , Composer $ composer , IOInterface $ io , $ pluginName ) { $ this -> composer = $ composer ; $ this -> io = $ io ; if ( $ this -> isPluginExcluded ( $ action , $ pluginName ) ) { return $ this -> excluded ( $ action , $ pluginName ) && false ; } $ plugin = $ this -> getPlugin ( $ pluginName ) ; if ( ! $ plugin ) { return $ this -> failed ( $ action , $ pluginName ) && false ; } $ this -> executing ( $ action , $ pluginName ) ; return $ plugin ; }
Prepare plugin interaction.

@param  string  $action
@param  \Composer\Composer  $composer
@param  \Composer\IO\IOInterface  $io
@param  string  $pluginName
@return string|false
Prepare plugin interaction .