ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
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 protected bool $is_deleted;
29
30 public function __construct(
31 int $obj_id,
32 string $identifier,
33 \DateTimeImmutable $datestamp,
34 bool $is_deleted
35 ) {
36 $this->obj_id = $obj_id;
37 $this->identifier = $identifier;
38 $this->datestamp = $datestamp;
39 $this->is_deleted = $is_deleted;
40 }
41
42 public function objID(): int
43 {
44 return $this->obj_id;
45 }
46
47 public function identfifier(): string
48 {
49 return $this->identifier;
50 }
51
52 public function datestamp(): \DateTimeImmutable
53 {
54 return $this->datestamp;
55 }
56
57 public function isDeleted(): bool
58 {
59 return $this->is_deleted;
60 }
61}
__construct(int $obj_id, string $identifier, \DateTimeImmutable $datestamp, bool $is_deleted)
Definition: RecordInfos.php:30