| 1 | <?php |
||
| 22 | class Contents implements ModelInterface |
||
| 23 | { |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var ModelInterface[] |
||
| 27 | */ |
||
| 28 | private $tElements = []; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Contents constructor. |
||
| 32 | */ |
||
| 33 | public function __construct() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param \mrcnpdlk\Grandstream\XMLApp\Application\Model\Components\ElemInterface $oElement |
||
| 39 | * |
||
| 40 | * @return Contents |
||
| 41 | */ |
||
| 42 | public function addElement(ElemInterface $oElement) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return MyXML |
||
| 51 | */ |
||
| 52 | public function getXml(): MyXML |
||
| 61 | } |
||
| 62 |