Implement Generator::__invoke($value) as alias to Generator::send($value)
| From: | S.A.N | Date: | Fri, 20 May 2016 13:34:03 +0000 |
| Subject: | Implement Generator::__invoke($value) as alias to Generator::send($value) | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-93416@lists.php.net to get a copy of this message | ||
Many interfaces work with callback functions, but they might work with
the generators, if there was a method Generator::__invoke($value).
I apologize if this topic has been discussed.
Thank.