public function removePatch($patch) { return $this->setPatches(array_diff($this->getPatches(), array($patch))); }