2016-05-20 15:34 GMT+02:00 S.A.N <ua.san.a...@gmail.com>: > Many interfaces work with callback functions, but they might work with > the generators, if there was a method Generator::__invoke($value).
You can just use [$generator, "send"].
2016-05-20 15:34 GMT+02:00 S.A.N <ua.san.a...@gmail.com>: > Many interfaces work with callback functions, but they might work with > the generators, if there was a method Generator::__invoke($value).
You can just use [$generator, "send"].