michael, 3 months ago @freekmurze I’ve grown more and more fond of using value objects to wrap collections, and then have my own ->add method on that which only accepts a single type of value. A bit more code, but a lot less error prone. #php #laravel
@freekmurze I’ve grown more and more fond of using value objects to wrap collections, and then have my own ->add method on that which only accepts a single type of value.
A bit more code, but a lot less error prone.
#php #laravel