ILIAS  trunk Revision v11.0_alpha-1811-gd2d5443e411
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Record.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 class Record implements RecordInterface
24 {
26  protected \DOMDocument $metadata;
27 
28  public function __construct(
29  RecordInfosInterface $infos,
30  \DOMDocument $metadata
31  ) {
32  $this->infos = $infos;
33  $this->metadata = $metadata;
34  }
35 
36  public function infos(): RecordInfosInterface
37  {
38  return $this->infos;
39  }
40 
41  public function metadata(): \DOMDocument
42  {
43  return $this->metadata;
44  }
45 }
__construct(RecordInfosInterface $infos, \DOMDocument $metadata)
Definition: Record.php:28