123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?php
- declare(strict_types=1);
- namespace OCP\Files\Events\Node;
- use OCP\EventDispatcher\Event;
- use OCP\Files\Node;
- abstract class AbstractNodesEvent extends Event {
-
- public function __construct(
- private Node $source,
- private Node $target
- ) {
- }
-
- public function getSource(): Node {
- return $this->source;
- }
-
- public function getTarget(): Node {
- return $this->target;
- }
- }
|