src/Plugin.php
protected function getPatcher()
    {
        if ($this->patcher === null) {
            $this->patcher = new Patcher($this->io, $this->composer->getInstallationManager(), $this->composer->getEventDispatcher(), new ProcessExecutor($this->io), $this->getVolatileDirectory());
        }

        return $this->patcher;
    }
protected function getPatcher()
    {
        if ($this->patcher === null) {
            $this->patcher = new Patcher($this->io, $this->composer->getInstallationManager(), $this->composer->getEventDispatcher(), new ProcessExecutor($this->io), $this->getVolatileDirectory());
        }

        return $this->patcher;
    }
protected function getPatcher ( ) { if ( $ this -> patcher === null ) { $ this -> patcher = new Patcher ( $ this -> io , $ this -> composer -> getInstallationManager ( ) , $ this -> composer -> getEventDispatcher ( ) , new ProcessExecutor ( $ this -> io ) , $ this -> getVolatileDirectory ( ) ) ; } return $ this -> patcher ; }
Get the Patcher instance.

@return \ComposerPatcher\Patcher
Get the Patcher instance .