ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
PatchEvent.php
Go to the documentation of this file.
1
<?
php
2
8
namespace
cweagans\Composer
;
9
10
use
Composer\EventDispatcher\Event
;
11
use
Composer\Package\PackageInterface
;
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
}
cweagans\Composer\PatchEvent\$description
$description
Definition:
PatchEvent.php:26
Event
cweagans\Composer\PatchEvent\$url
$url
Definition:
PatchEvent.php:22
cweagans\Composer\PatchEvent\getDescription
getDescription()
Returns the description of the patch.
Definition:
PatchEvent.php:66
cweagans\Composer\PatchEvent
Definition:
PatchEvent.php:13
cweagans\Composer
Definition:
Patches.php:8
cweagans\Composer\PatchEvent\$package
$package
Definition:
PatchEvent.php:18
cweagans\Composer\PatchEvent\__construct
__construct($eventName, PackageInterface $package, $url, $description)
Constructs a PatchEvent object.
Definition:
PatchEvent.php:36
PackageInterface
cweagans\Composer\PatchEvent\getPackage
getPackage()
Returns the package that is patched.
Definition:
PatchEvent.php:48
php
cweagans\Composer\PatchEvent\getUrl
getUrl()
Returns the url of the patch.
Definition:
PatchEvent.php:57
libs
composer
vendor
cweagans
composer-patches
src
PatchEvent.php
Generated on Thu Jan 16 2025 19:01:37 for ILIAS by
1.8.13 (using
Doxyfile
)