ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Player.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 use ILIAS\UI\Component as C;
27 
32 class 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.