Using the _set method only allows for setting a single value. Need to create an _add method that will append values to an array (or SplObjectStorage).
Will then need to add appropriate methods such as Thing::addImage() and update database structure to allow jsonb[] storage.
Using the
_setmethod only allows for setting a single value. Need to create an_addmethod that will append values to an array (orSplObjectStorage).Will then need to add appropriate methods such as
Thing::addImage()and update database structure to allowjsonb[]storage.