Added ability to specify compatibility in hotfix

This commit is contained in:
2016-12-02 15:23:03 +01:00
parent b5d3754b2f
commit 34f53c0e75
5 changed files with 115 additions and 1 deletions

View File

@ -70,6 +70,14 @@ class Hotfix
unlink($tmpfile);
}
public function getRequirements()
{
if (!array_key_exists('for',$this->header)) {
return [];
}
return $this->header['for'];
}
public function getSignedBy()
{
if (!$this->signer) {