You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is currently possible to retrieve collections when using the CollectionTrait, but it would be nice to use the api (at least some of it) directly inside manager to modify the values in the container.
Not sure the best api to use, but it should be simple enough to use Arrayzy to do the actual work and just have methods in CollectionTrait pass along to the external dependency.
The text was updated successfully, but these errors were encountered:
The question is, how to handle the returns? As of now, any call to any Collection Method is passed to an ArrayImitator instance and the result of that (an ArrayImitator) is returned with a simple toArray() method.
Should an array be returned instead?
Should these methods modify the manager manifest? An optional argument to do so?
Should there be any notion of method chaining while using these? If so, how do you know which to return?
It is currently possible to retrieve collections when using the
CollectionTrait
, but it would be nice to use the api (at least some of it) directly inside manager to modify the values in the container.Not sure the best api to use, but it should be simple enough to use Arrayzy to do the actual work and just have methods in
CollectionTrait
pass along to the external dependency.The text was updated successfully, but these errors were encountered: