Added ability to specify compatibility in hotfix
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user