Better parameters management
New version (5.3.0) with some useful enhancements for parameters management.
- The method
hasGlobalParam(string $name)
is nowstatic
- You can now define the seek order to get the first value either from the local or global context using
getAnyParam(string $name, string $seek_order = 'local'): mixed
- It's possible to set a parameter in the local and the global context at once using
setAnyParam(string $name, mixed $value)
- It's possible to unset a parameter from the local and the global context at once using
unsetAnyParam(string $name)
- It's possible to check if a parameter exist in the local or global context using
hasAnyParam(string $name): bool
Tests are updated
rawsrc