It is generally recommended to explicitly declare the visibility for methods.
Adding explicit visibility (private, protected, or public) is generally
recommend to communicate to other developers how, and from where this method
is intended to be used.
Loading history...
26
{
27
$nothing = function() {};
28
$callBlock = function() use ($block, & $arguments) {
29
$block->blockArgumentsAre(... $arguments);
30
};
31
$do = $callBlock;
32
33
(
34
new iterator\fifo
35
)
36
->variablesForIteratorBlockAre(
37
new functor(
38
function($iterator, $trampoline) use ($nothing, $callBlock, & $do, & $arguments)
39
{
40
$iterator->nextIterationAreUseless();
41
42
$do = $nothing;
43
44
$trampoline
45
->argumentsForBlockAre(
46
new block\functor(
47
function(... $argumentsFromTrampoline) use ($iterator, $callBlock, &$do, & $arguments) {