1 | <?php declare(strict_types=1); |
||
27 | abstract class Scope extends DatabaseItem implements ScopeInterface |
||
28 | { |
||
29 | /** Field name */ |
||
30 | const FIELD_ID = 'id_scope'; |
||
31 | |||
32 | /** Field name */ |
||
33 | const FIELD_DESCRIPTION = 'description'; |
||
34 | |||
35 | /** |
||
36 | * @var string|null |
||
37 | */ |
||
38 | private $identifierField; |
||
39 | |||
40 | /** |
||
41 | * @var string|null |
||
42 | */ |
||
43 | private $descriptionField; |
||
44 | |||
45 | /** |
||
46 | * Constructor. |
||
47 | */ |
||
48 | 22 | public function __construct() |
|
56 | |||
57 | /** |
||
58 | * @inheritdoc |
||
59 | */ |
||
60 | 21 | public function getIdentifier(): ?string |
|
64 | |||
65 | /** |
||
66 | * @inheritdoc |
||
67 | */ |
||
68 | 20 | public function setIdentifier(string $identifier): ScopeInterface |
|
74 | |||
75 | /** |
||
76 | * @inheritdoc |
||
77 | */ |
||
78 | 21 | public function getDescription(): ?string |
|
82 | |||
83 | /** |
||
84 | * @inheritdoc |
||
85 | */ |
||
86 | 2 | public function setDescription(string $description = null): ScopeInterface |
|
92 | |||
93 | /** |
||
94 | * @inheritdoc |
||
95 | */ |
||
96 | 19 | public function setCreatedAt(DateTimeInterface $createdAt): ScopeInterface |
|
103 | |||
104 | /** |
||
105 | * @inheritdoc |
||
106 | */ |
||
107 | 1 | public function setUpdatedAt(DateTimeInterface $createdAt): ScopeInterface |
|
114 | } |
||
115 |