File tree Expand file tree Collapse file tree 10 files changed +20
-40
lines changed Expand file tree Collapse file tree 10 files changed +20
-40
lines changed Original file line number Diff line number Diff line change 1010class AssociationCacheEntry implements CacheEntry
1111{
1212 /**
13- * READ-ONLY: Public only for performance reasons, it should be considered immutable.
14- *
13+ * @readonly Public only for performance reasons, it should be considered immutable.
1514 * @var array<string, mixed> The entity identifier
1615 */
1716 public $ identifier ;
1817
1918 /**
20- * READ-ONLY: Public only for performance reasons, it should be considered immutable.
21- *
19+ * @readonly Public only for performance reasons, it should be considered immutable.
2220 * @var string The entity class name
2321 */
2422 public $ class ;
Original file line number Diff line number Diff line change 1111abstract class CacheKey
1212{
1313 /**
14- * READ-ONLY: Public only for performance reasons, it should be considered immutable.
15- *
14+ * @readonly Public only for performance reasons, it should be considered immutable.
1615 * @var string Unique identifier
1716 */
1817 public $ hash ;
Original file line number Diff line number Diff line change 1010class CollectionCacheEntry implements CacheEntry
1111{
1212 /**
13- * READ-ONLY: Public only for performance reasons, it should be considered immutable.
14- *
13+ * @readonly Public only for performance reasons, it should be considered immutable.
1514 * @var CacheKey[] The list of entity identifiers hold by the collection
1615 */
1716 public $ identifiers ;
Original file line number Diff line number Diff line change 1515class CollectionCacheKey extends CacheKey
1616{
1717 /**
18- * READ-ONLY: Public only for performance reasons, it should be considered immutable.
19- *
18+ * @readonly Public only for performance reasons, it should be considered immutable.
2019 * @var array<string, mixed> The owner entity identifier
2120 */
2221 public $ ownerIdentifier ;
2322
2423 /**
25- * READ-ONLY: Public only for performance reasons, it should be considered immutable.
26- *
24+ * @readonly Public only for performance reasons, it should be considered immutable.
2725 * @var string The owner entity class
2826 */
2927 public $ entityClass ;
3028
3129 /**
32- * READ-ONLY: Public only for performance reasons, it should be considered immutable.
33- *
30+ * @readonly Public only for performance reasons, it should be considered immutable.
3431 * @var string The association name
3532 */
3633 public $ association ;
Original file line number Diff line number Diff line change 1414class EntityCacheEntry implements CacheEntry
1515{
1616 /**
17- * READ-ONLY: Public only for performance reasons, it should be considered immutable.
18- *
17+ * @readonly Public only for performance reasons, it should be considered immutable.
1918 * @var array<string,mixed> The entity map data
2019 */
2120 public $ data ;
2221
2322 /**
24- * READ-ONLY: Public only for performance reasons, it should be considered immutable.
25- *
23+ * @readonly Public only for performance reasons, it should be considered immutable.
2624 * @var string The entity class name
2725 * @psalm-var class-string
2826 */
Original file line number Diff line number Diff line change 1515class EntityCacheKey extends CacheKey
1616{
1717 /**
18- * READ-ONLY: Public only for performance reasons, it should be considered immutable.
19- *
18+ * @readonly Public only for performance reasons, it should be considered immutable.
2019 * @var array<string, mixed> The entity identifier
2120 */
2221 public $ identifier ;
2322
2423 /**
25- * READ-ONLY: Public only for performance reasons, it should be considered immutable.
26- *
24+ * @readonly Public only for performance reasons, it should be considered immutable.
2725 * @var string The entity class name
2826 */
2927 public $ entityClass ;
Original file line number Diff line number Diff line change 1212class QueryCacheEntry implements CacheEntry
1313{
1414 /**
15- * READ-ONLY: Public only for performance reasons, it should be considered immutable.
16- *
15+ * @readonly Public only for performance reasons, it should be considered immutable.
1716 * @var array<string, mixed> List of entity identifiers
1817 */
1918 public $ result ;
2019
2120 /**
22- * READ-ONLY: Public only for performance reasons, it should be considered immutable.
23- *
21+ * @readonly Public only for performance reasons, it should be considered immutable.
2422 * @var float Time creation of this cache entry
2523 */
2624 public $ time ;
Original file line number Diff line number Diff line change 1212class QueryCacheKey extends CacheKey
1313{
1414 /**
15- * READ-ONLY: Public only for performance reasons, it should be considered immutable.
16- *
15+ * @readonly Public only for performance reasons, it should be considered immutable.
1716 * @var int Cache key lifetime
1817 */
1918 public $ lifetime ;
2019
2120 /**
2221 * Cache mode
2322 *
24- * READ-ONLY: Public only for performance reasons, it should be considered immutable.
25- *
23+ * @readonly Public only for performance reasons, it should be considered immutable.
2624 * @var int
2725 * @psalm-var Cache::MODE_*
2826 */
2927 public $ cacheMode ;
3028
3129 /**
32- * READ-ONLY: Public only for performance reasons, it should be considered immutable.
33- *
30+ * @readonly Public only for performance reasons, it should be considered immutable.
3431 * @var TimestampCacheKey|null
3532 */
3633 public $ timestampKey ;
Original file line number Diff line number Diff line change 1212class TimestampCacheEntry implements CacheEntry
1313{
1414 /**
15- * READ-ONLY: Public only for performance reasons, it should be considered immutable.
16- *
15+ * @readonly Public only for performance reasons, it should be considered immutable.
1716 * @var float
1817 */
1918 public $ time ;
Original file line number Diff line number Diff line change 8787class Parser
8888{
8989 /**
90- * READ-ONLY: Maps BUILT-IN string function names to AST class names.
91- *
90+ * @readonly Maps BUILT-IN string function names to AST class names.
9291 * @psalm-var array<string, class-string<Functions\FunctionNode>>
9392 */
9493 private static $ stringFunctions = [
@@ -101,8 +100,7 @@ class Parser
101100 ];
102101
103102 /**
104- * READ-ONLY: Maps BUILT-IN numeric function names to AST class names.
105- *
103+ * @readonly Maps BUILT-IN numeric function names to AST class names.
106104 * @psalm-var array<string, class-string<Functions\FunctionNode>>
107105 */
108106 private static $ numericFunctions = [
@@ -125,8 +123,7 @@ class Parser
125123 ];
126124
127125 /**
128- * READ-ONLY: Maps BUILT-IN datetime function names to AST class names.
129- *
126+ * @readonly Maps BUILT-IN datetime function names to AST class names.
130127 * @psalm-var array<string, class-string<Functions\FunctionNode>>
131128 */
132129 private static $ datetimeFunctions = [
You can’t perform that action at this time.
0 commit comments