123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?php
- declare(strict_types=1);
- namespace OCP\FilesMetadata\Event;
- use OCP\Files\Node;
- use OCP\FilesMetadata\AMetadataEvent;
- use OCP\FilesMetadata\Model\IFilesMetadata;
- class MetadataNamedEvent extends AMetadataEvent {
-
- public function __construct(
- Node $node,
- IFilesMetadata $metadata,
- private string $name = '',
- ) {
- parent::__construct($node, $metadata);
- }
-
- public function getName(): string {
- return $this->name;
- }
- }
|