MetaDataState
readonly class \
Meta-data class handling cacheable states for generic frontend functionality.
Internal
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Methods
- __construct() : mixed
- getState() : array
- updateState() : void
Methods
__construct()
public
__construct(ModelService $modelService, PolicyRegistry $policyRegistry, DirectiveHashCollection $directiveHashCollection) : mixed
Parameters
- $modelService : ModelService
- $policyRegistry : PolicyRegistry
- $directiveHashCollection : DirectiveHashCollection
getState()
public
getState() : array
Return values
arrayupdateState()
public
updateState(array $state) : void
Parameters
- $state : array