MetaDataState
FinalYes
Meta-data class handling cacheable states for generic frontend functionality.
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Methods
- __construct() : mixed
- getState() : array<string|int, mixed>
- updateState() : void
Methods
__construct()
    public
                    __construct(ModelService $modelService, PolicyRegistry $policyRegistry) : mixed
    Parameters
- $modelService : ModelService
- $policyRegistry : PolicyRegistry
getState()
    public
                    getState() : array<string|int, mixed>
    Return values
array<string|int, mixed>updateState()
    public
                    updateState(array<string|int, mixed> $state) : void
    Parameters
- $state : array<string|int, mixed>