PHP: container for values and objects

Using the class  \Airaghi\Tools\Container it’s  possibile to share between your scripts (inside a single execution flow) values and objects reference without having to use global variables.

The class has methods for:
– saving and getting values
– saving and getting objects references
– deleting of values stored
– deleting of stored references

The code is available here.

Leave a comment