ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Audio.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
29class Audio extends Player implements C\Player\Audio
30{
31 private string $transcript;
32
33 public function __construct(string $source, string $transcript)
34 {
35 parent::__construct($source);
36 $this->transcript = $transcript;
37 }
38
39 public function getTranscription(): string
40 {
41 return $this->transcript;
42 }
43}
__construct(string $source, string $transcript)
Definition: Audio.php:33
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc