ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
RecordInfos.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24{
25 protected int $obj_id;
26 protected string $identifier;
27 protected \DateTimeImmutable $datestamp;
28
29 public function __construct(
30 int $obj_id,
31 string $identifier,
32 \DateTimeImmutable $datestamp
33 ) {
34 $this->obj_id = $obj_id;
35 $this->identifier = $identifier;
36 $this->datestamp = $datestamp;
37 }
38
39 public function objID(): int
40 {
41 return $this->obj_id;
42 }
43
44 public function identfifier(): string
45 {
46 return $this->identifier;
47 }
48
49 public function datestamp(): \DateTimeImmutable
50 {
51 return $this->datestamp;
52 }
53}
__construct(int $obj_id, string $identifier, \DateTimeImmutable $datestamp)
Definition: RecordInfos.php:29