12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <?php
- declare(strict_types=1);
- namespace OCP\SpeechToText\Events;
- use OCP\EventDispatcher\Event;
- use OCP\Files\File;
- abstract class AbstractTranscriptionEvent extends Event {
-
- public function __construct(
- private int $fileIdId,
- private ?File $file,
- private ?string $userId,
- private string $appId,
- ) {
- parent::__construct();
- }
-
- public function getFileId(): int {
- return $this->fileIdId;
- }
-
- public function getFile(): ?File {
- return $this->file;
- }
-
- public function getUserId(): ?string {
- return $this->userId;
- }
-
- public function getAppId(): string {
- return $this->appId;
- }
- }
|