class CachingFactoryDecorator implements ChoiceListFactoryInterface
Caches the choice lists created by the decorated factory.
Methods
static string generateHash(mixed $value, string $namespace = '') Generates a SHA-256 hash for the given value.
__construct(ChoiceListFactoryInterface $decoratedFactory) Decorates the given factory.
ChoiceListFactoryInterface getDecoratedFactory() Returns the decorated factory.
ChoiceListInterface createListFromChoices(array|Traversable $choi