LazyContextType implements JsonSerializable
FinalYes
Lazy resolver for context type.
It is used to resolve context type only when it is needed (for example, in json serialization).
Table of Contents
Interfaces
- JsonSerializable
Methods
- __construct() : mixed
- jsonSerialize() : string
- resolveType() : ContextType
Methods
__construct()
public
__construct(Folder $folder, ContextTypeResolver $resolver) : mixed
Parameters
- $folder : Folder
- $resolver : ContextTypeResolver
jsonSerialize()
public
jsonSerialize() : string
Return values
stringresolveType()
public
resolveType() : ContextType