123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- <?php
- declare(strict_types=1);
- namespace OCA\DAV\Events;
- use OCP\EventDispatcher\Event;
- class CardCreatedEvent extends Event {
-
- private $addressBookId;
-
- private $addressBookData;
-
- private $shares;
-
- private $cardData;
-
- public function __construct(int $addressBookId,
- array $addressBookData,
- array $shares,
- array $cardData) {
- parent::__construct();
- $this->addressBookId = $addressBookId;
- $this->addressBookData = $addressBookData;
- $this->shares = $shares;
- $this->cardData = $cardData;
- }
-
- public function getAddressBookId(): int {
- return $this->addressBookId;
- }
-
- public function getAddressBookData(): array {
- return $this->addressBookData;
- }
-
- public function getShares(): array {
- return $this->shares;
- }
-
- public function getCardData(): array {
- return $this->cardData;
- }
- }
|