%PDF- %PDF-
Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/passwords/lib/Events/Share/ |
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/passwords/lib/Events/Share/ShareClonedEvent.php |
<?php /** * This file is part of the Passwords App * created by Marius David Wieschollek * and licensed under the AGPL. */ namespace OCA\Passwords\Events\Share; use OCA\Passwords\Db\Share; use OCP\EventDispatcher\Event; /** * Class ShareClonedEvent * * @package OCA\Passwords\Events\Share */ class ShareClonedEvent extends Event { /** * @var Share */ protected Share $original; /** * @var Share */ protected Share $clone; /** * ShareClonedEvent constructor. * * @param Share $original * @param Share $clone */ public function __construct(Share $original, Share $clone) { parent::__construct(); $this->original = $original; $this->clone = $clone; } /** * @return Share */ public function getOriginal(): Share { return $this->original; } /** * @return Share */ public function getClone(): Share { return $this->clone; } }