src/Plugin.php
protected function getPatchCollection()
    {
        if ($this->patchCollection === null) {
            $patchCollector = $this->getPatchCollector();
            $packages = $this->getLocalRepositoryPackages(true);
            $this->patchCollection = $patchCollector->collectPatches($this->composer->getPackage(), $packages);
        }

        return $this->patchCollection;
    }
protected function getPatchCollection()
    {
        if ($this->patchCollection === null) {
            $patchCollector = $this->getPatchCollector();
            $packages = $this->getLocalRepositoryPackages(true);
            $this->patchCollection = $patchCollector->collectPatches($this->composer->getPackage(), $packages);
        }

        return $this->patchCollection;
    }
protected function getPatchCollection ( ) { if ( $ this -> patchCollection === null ) { $ patchCollector = $ this -> getPatchCollector ( ) ; $ packages = $ this -> getLocalRepositoryPackages ( true ) ; $ this -> patchCollection = $ patchCollector -> collectPatches ( $ this -> composer -> getPackage ( ) , $ packages ) ; } return $ this -> patchCollection ; }
The list of patches to be applied.

@return \ComposerPatcher\PatchCollection
The list of patches to be applied .