10use Composer\EventDispatcher\Event;
11use Composer\Package\PackageInterface;
37 parent::__construct($eventName);
38 $this->
package = $package;
An exception for terminatinating execution or to throw for unit testing.
getPackage()
Returns the package that is patched.
getDescription()
Returns the description of the patch.
getUrl()
Returns the url of the patch.
__construct($eventName, PackageInterface $package, $url, $description)
Constructs a PatchEvent object.