123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?php
- declare(strict_types=1);
- namespace OCP\Files\Events;
- use OCP\EventDispatcher\Event;
- use OCP\Files\Storage\IStorage;
- class FileCacheUpdated extends Event {
-
- private $storage;
-
- private $path;
-
- public function __construct(IStorage $storage,
- string $path) {
- parent::__construct();
- $this->storage = $storage;
- $this->path = $path;
- }
-
- public function getStorage(): IStorage {
- return $this->storage;
- }
-
- public function getPath(): string {
- return $this->path;
- }
- }
|