ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
NumberId.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\LegalDocuments\DocumentId
;
22
23
use
ILIAS\LegalDocuments\DocumentId
;
24
use
ILIAS\LegalDocuments\Value\Document
;
25
26
class
NumberId
implements
DocumentId
27
{
28
private
readonly
int
$number
;
29
30
public
function
__construct
(
Document
$document)
31
{
32
$this->
number
= $document->
id
();
33
}
34
35
public
function
number
():
int
36
{
37
return
$this->number
;
38
}
39
}
ILIAS\LegalDocuments\Value\Document\id
id()
Definition:
Document.php:36
ILIAS\LegalDocuments\DocumentId\NumberId\$number
readonly int $number
Definition:
NumberId.php:28
ILIAS\LegalDocuments\DocumentId\NumberId\number
number()
Definition:
NumberId.php:35
ILIAS\LegalDocuments\DocumentId
Definition:
HashId.php:21
ILIAS\LegalDocuments\DocumentId\NumberId\__construct
__construct(Document $document)
Definition:
NumberId.php:30
ILIAS\LegalDocuments\DocumentId
Definition:
DocumentId.php:23
ILIAS\LegalDocuments\Value\Document
Definition:
Document.php:23
ILIAS\LegalDocuments\DocumentId\NumberId
Definition:
NumberId.php:26
Document
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
components
ILIAS
LegalDocuments
classes
DocumentId
NumberId.php
Generated on Mon Sep 1 2025 23:03:23 for ILIAS by
1.8.13 (using
Doxyfile
)