ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Document.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24{
28 public function __construct(
29 private readonly int $id,
30 private readonly Meta $meta,
31 private readonly DocumentContent $content,
32 private readonly array $criteria
33 ) {
34 }
35
36 public function id(): int
37 {
38 return $this->id;
39 }
40
41 public function meta(): Meta
42 {
43 return $this->meta;
44 }
45
46 public function content(): DocumentContent
47 {
48 return $this->content;
49 }
50
54 public function criteria(): array
55 {
56 return $this->criteria;
57 }
58}
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
__construct(private readonly int $id, private readonly Meta $meta, private readonly DocumentContent $content, private readonly array $criteria)
Definition: Document.php:28