ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
PatchEvent.php
Go to the documentation of this file.
1 <?php
2 
8 namespace cweagans\Composer;
9 
12 
13 class PatchEvent extends Event {
14 
18  protected $package;
22  protected $url;
26  protected $description;
27 
36  public function __construct($eventName, PackageInterface $package, $url, $description) {
37  parent::__construct($eventName);
38  $this->package = $package;
39  $this->url = $url;
40  $this->description = $description;
41  }
42 
48  public function getPackage() {
49  return $this->package;
50  }
51 
57  public function getUrl() {
58  return $this->url;
59  }
60 
66  public function getDescription() {
67  return $this->description;
68  }
69 
70 }
getDescription()
Returns the description of the patch.
Definition: PatchEvent.php:66
__construct($eventName, PackageInterface $package, $url, $description)
Constructs a PatchEvent object.
Definition: PatchEvent.php:36
getPackage()
Returns the package that is patched.
Definition: PatchEvent.php:48
getUrl()
Returns the url of the patch.
Definition: PatchEvent.php:57