ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Player.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
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}
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.