ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
Record.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23class Record implements RecordInterface
24{
26 protected ?\DOMDocument $metadata;
27
28 public function __construct(
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
metadata()
Deleted records don't carry metadata.
Definition: Record.php:41