Adrian

Results 3 comments of Adrian

your `$fakeValue` is out of scope. ```php 'fakeMethod' => function () use ($fakeValue) { return $fakeValue; } ```

> move but create a reference Could be nice, but might also be complicated if an item is moved multiple times.

> Composition using BagInterface and AsBag Trait This is the approach I chose, in a similar situation. It's proven a good balance between being flexible and providing a default "hit...