123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?php
- declare(strict_types=1);
- namespace OCP\Preview;
- use OCP\Files\Node;
- class BeforePreviewFetchedEvent extends \OCP\EventDispatcher\Event {
- private Node $node;
-
- public function __construct(Node $node) {
- parent::__construct();
- $this->node = $node;
- }
-
- public function getNode(): Node {
- return $this->node;
- }
- }
|