Closed nozavroni closed 6 years ago
Maybe write some namespaced functions for the most common collection-related features. For instance:
$coll = filter(['foo', 'bar', 'baz'], [$filter1, $filter2, $etc]); $coll2 = map(['foo', 'bar', 'baz'], [$cb1, $cb2, $cb3]); $coll3 = search(['foo', 'bar', 'baz'], new Criteria(...)); $coll4 = validate(['foo', 'bar', 'baz'], new Validation(...));
No.
Maybe write some namespaced functions for the most common collection-related features. For instance: