Projects with this topic
Sort by:
-
Implement Eboreum\ImmutableInterface\ImmutableInterface on any class to flag it as being immutable. An immutable object must never change its state; i.e. its class properties must remain unchanged after instantiation or cloning.
Updated -
Immutably clone (copy) objects and override their properties. Works for readonly classes and properties as well.
Updated -