ILIAS  release_8 Revision v8.24
Player.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22
24use ILIAS\UI\Implementation\Component\ComponentHelper;
27
32class Player implements C\Player\Player
33{
34 use ComponentHelper;
36 use Triggerer;
37
38 private string $src;
39
40 public function __construct(string $source)
41 {
42 $this->src = $source;
43 }
44
45 public function getSource(): string
46 {
47 return $this->src;
48 }
49}
$source
Definition: metadata.php:93
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Audio.php:21
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.