1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <?php
- declare(strict_types=1);
- namespace OCP\Group\Events;
- use OCP\EventDispatcher\Event;
- use OCP\IGroup;
- class BeforeGroupChangedEvent extends Event {
- private IGroup $group;
- private string $feature;
-
- private $value;
-
- private $oldValue;
-
- public function __construct(IGroup $group,
- string $feature,
- $value,
- $oldValue = null) {
- parent::__construct();
- $this->group = $group;
- $this->feature = $feature;
- $this->value = $value;
- $this->oldValue = $oldValue;
- }
-
- public function getGroup(): IGroup {
- return $this->group;
- }
-
- public function getFeature(): string {
- return $this->feature;
- }
-
- public function getValue() {
- return $this->value;
- }
-
- public function getOldValue() {
- return $this->oldValue;
- }
- }
|