%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/passwords/lib/Events/Folder/
Upload File :
Create Path :
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/passwords/lib/Events/Folder/FolderClonedEvent.php

<?php
/**
 * This file is part of the Passwords App
 * created by Marius David Wieschollek
 * and licensed under the AGPL.
 */

namespace OCA\Passwords\Events\Folder;

use OCA\Passwords\Db\Folder;
use OCP\EventDispatcher\Event;

/**
 * Class FolderClonedEvent
 *
 * @package OCA\Passwords\Events\Folder
 */
class FolderClonedEvent extends Event {

    /**
     * @var Folder
     */
    protected Folder $original;

    /**
     * @var Folder
     */
    protected Folder $clone;

    /**
     * FolderClonedEvent constructor.
     *
     * @param Folder $original
     * @param Folder $clone
     */
    public function __construct(Folder $original, Folder $clone) {
        parent::__construct();
        $this->original = $original;
        $this->clone = $clone;
    }

    /**
     * @return Folder
     */
    public function getOriginal(): Folder {
        return $this->original;
    }

    /**
     * @return Folder
     */
    public function getClone(): Folder {
        return $this->clone;
    }
}

Zerion Mini Shell 1.0