ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
Exportable.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
41interface Exportable
42{
51 public function toExport(): array;
52
63 public static function fromExport(array $data): static;
64}
This interface allows an object to define its own transformation into a language-neutral,...
Definition: Exportable.php:42
toExport()
Transform the object into a simple, associative array.
static fromExport(array $data)
Creates an instance of the object from an array.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$data
Definition: storeScorm.php:45