psmb/registry

Last activity 22 Apr 2025 3 5 25436
composer require psmb/registry

Global registry of things with an Eel helper

2.1.4

Version
2.1.4
Type
neos-package
Release Date
Apr 22, 2025 18:41
Source
git
Distribution
zip
Requires
  • neos/flow: ^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0
MIT 7fc8df8b9f1957bb0d97f573cf3421b7c0dbaee3

Readme excerpt

Use with caution and only if you absolutely have to!

This package provides you with a registry service and an Eel helper to get and set values on it.

Installation

composer require psmb/registry

Usage Example root = T:Collection { @context.blah = ${Registry.set('acc', 0)} collection = ${[1,2,3]} itemName = 'item' itemRenderer = T:Value { @context.blah = ${Registry.set('acc', item + Registry.get('acc'))} value = ${Registry.get('acc')} } }

The following methods are available:

  • set(key, value): Sets a value by key
  • get(key): Returns a value by …
    Read more
The content of the readme is provided by an external source, which we have no control over. Check out the actual readme at its source.
The same vendor provides 13 package(s).