ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
Legacy.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 2016 Timon Amstutz <timon.amstutz@ilub.unibe.ch> Extended GPL, see docs/LICENSE */
4
6
8use ILIAS\UI\Implementation\Component\ComponentHelper;
9
14class Legacy implements C\Legacy\Legacy {
15 use ComponentHelper;
16
20 private $content;
21
22
27 public function __construct($content) {
28 $this->checkStringArg("content", $content);
29
30 $this->content = $content;
31 }
32
36 public function getContent(){
37 return $this->content;
38 }
39}
40?>
An exception for terminatinating execution or to throw for unit testing.
__construct($content)
Legacy constructor.
Definition: Legacy.php:27