In \Pinto\Object\ObjectTrait::pintoBuild, update $built = (static::$pintoEnum->build($wrapper))($template); to pass along $this so lists have access to the object. Otherwise their closure is potentially acting in isolation.
\Pinto\List\ObjectListInterface::build and \Pinto\List\ObjectListTrait::build are updated with a new object $object arg
In
\Pinto\Object\ObjectTrait::pintoBuild
, update$built = (static::$pintoEnum->build($wrapper))($template);
to pass along$this
so lists have access to the object. Otherwise their closure is potentially acting in isolation.\Pinto\List\ObjectListInterface::build
and\Pinto\List\ObjectListTrait::build
are updated with a newobject $object
arg