NodeRestoredEvent.php 449 B

123456789101112131415161718192021
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OCA\Files_Trashbin\Events;
  8. use OCP\Files\Events\Node\AbstractNodesEvent;
  9. use OCP\Files\Node;
  10. /**
  11. * @since 28.0.0
  12. */
  13. class NodeRestoredEvent extends AbstractNodesEvent {
  14. public function __construct(Node $source, Node $target) {
  15. parent::__construct($source, $target);
  16. }
  17. }