Changelog

v2.0 (PHP 8)
  • PHP 8.1 is required

  • Only inner objects of AbstractEncapsulation will be deep-cloned

  • Change return type of Container::search to string|int|false

  • Fixed typos in documentation

v1.2.2
  • Fix: Type of previous exception parameter

v1.2.1
  • Add more documentation

  • Add IteratorTrait

  • Add JsonSerializableTrait

  • Fix: ImmutableContainer was mutable via splice()-method

  • Fix: Immutable encapsulations were not clonable

  • Fix: IntersectionCalculation::getDifference was intended to be static

v1.2 (Immutable Encapsulations)
  • Add immutable encapsulations

  • AbstractEncapsulation::add can now add values to an inner container

v1.1.1
  • Fix: Object difference with missing field

v1.1 (Intersection Calculation)
  • Encapsulations now need to implement the abstract constructor from AbstractEncapsulation

  • Add intersection calculation for encapsulations

  • ObjectMapping can no longer be created via constructor

  • Objects created from encapsulations like Container will be created via static instead of self

v1.0 (First release)
  • First release

  • Create encapsulation package

Last updated