Skip to content

Commit 44aede1

Browse files
committed
Values\Content\Location: Set protected/read-only property as internal
1 parent bfd1697 commit 44aede1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/contracts/Repository/Values/Content/Location.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ abstract class Location extends ValueObject
9090
* Location ID.
9191
*
9292
* @var int
93+
* @internal Read-only property accessed through magic getter.
9394
*/
9495
protected $id;
9596

@@ -110,13 +111,15 @@ abstract class Location extends ValueObject
110111
* sort order.
111112
*
112113
* @var int
114+
* @internal Read-only property accessed through magic getter.
113115
*/
114116
protected $priority;
115117

116118
/**
117119
* Indicates that the Location entity is hidden (explicitly or hidden by content).
118120
*
119121
* @var bool
122+
* @internal Read-only property accessed through magic getter.
120123
*/
121124
protected $hidden;
122125

@@ -125,13 +128,15 @@ abstract class Location extends ValueObject
125128
* or implicitly hidden by its Content or an ancestor Location.
126129
*
127130
* @var bool
131+
* @internal Read-only property accessed through magic getter.
128132
*/
129133
protected $invisible;
130134

131135
/**
132136
* Indicates that the Location entity has been explicitly marked as hidden.
133137
*
134138
* @var bool
139+
* @internal Read-only property accessed through magic getter.
135140
*/
136141
protected $explicitlyHidden;
137142

@@ -141,20 +146,23 @@ abstract class Location extends ValueObject
141146
* A universally unique identifier.
142147
*
143148
* @var string
149+
* @internal Read-only property accessed through magic getter.
144150
*/
145151
protected $remoteId;
146152

147153
/**
148154
* Parent ID.
149155
*
150156
* @var int Location ID.
157+
* @internal Read-only property accessed through magic getter.
151158
*/
152159
protected $parentLocationId;
153160

154161
/**
155162
* The materialized path of the location entry, eg: /1/2/4/23/.
156163
*
157164
* @var string
165+
* @internal Read-only property accessed through magic getter.
158166
*/
159167
protected $pathString;
160168

@@ -165,13 +173,15 @@ abstract class Location extends ValueObject
165173
* Same as {@see Location::$pathString} but as array, e.g.: `['1', '2', '4', '23']`.
166174
*
167175
* @var array <int, string>
176+
* @internal Read-only property accessed through magic getter.
168177
*/
169178
protected array $path;
170179

171180
/**
172181
* Depth location has in the location tree.
173182
*
174183
* @var int
184+
* @internal Read-only property accessed through magic getter.
175185
*/
176186
protected $depth;
177187

@@ -181,6 +191,7 @@ abstract class Location extends ValueObject
181191
* Valid values are found at {@link Location::SORT_FIELD_*}
182192
*
183193
* @var int
194+
* @internal Read-only property accessed through magic getter.
184195
*/
185196
protected $sortField;
186197

@@ -190,6 +201,7 @@ abstract class Location extends ValueObject
190201
* Valid values are {@link Location::SORT_ORDER_*}
191202
*
192203
* @var int
204+
* @internal Read-only property accessed through magic getter.
193205
*/
194206
protected $sortOrder;
195207

0 commit comments

Comments
 (0)