ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
AbstractMedia.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
21 
26 abstract class AbstractMedia
27 {
28  protected string $content = "";
29 
30  protected string $version = '';
31 
36  public function __construct(string $content, string $version)
37  {
38  $this->content = $content;
39  $this->version = $version;
40  }
41 
45  public function getContent(): string
46  {
47  return $this->content;
48  }
49 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(string $content, string $version)
AbstractMedia constructor.