#Comments
In the above code, assigning the anonymous functions to variables in the same code block works, if I assign them above.
If I assign them below, no go.
I'd like to be able to define those helper functions (ShowGreatThanZero and displayoutput) elsewhere, so that the code is neat and clean.
The problem I am having is that there seems to be some data passed in, but I don't know what it's called in the context of the pass in.
for example here's an anonymous function:
If I want to replace the anonymous function with one I define in my class:
Then when I call it in the context of the collection object i don't know what to pass in:
$collection->filter($this->take1($WhatVariableIsUsedHere))