A few variations on the
almostStd Is very much like
stdClass, but only the defined propeties of class can be set/get.
almostStd and removes ability to modify the property values after instantiation. Properties have to be set by passing stdClass object to constructor.
almostStd and adds a validation callback to get/set.
composer require calderawp/object