Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/glensc/generatoraggregate
GeneratorAggregate
https://github.com/glensc/generatoraggregate
Last synced: about 2 months ago
JSON representation
GeneratorAggregate
- Host: GitHub
- URL: https://github.com/glensc/generatoraggregate
- Owner: glensc
- License: mit
- Created: 2018-02-27T10:32:24.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-25T15:02:53.000Z (over 6 years ago)
- Last Synced: 2024-04-14T07:29:42.982Z (9 months ago)
- Language: PHP
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GeneratorAggregate
`GeneratorAggregate` is a solution for PHP 5.5+ to handle missing `yield from`:
```php
toArray());```
```
Array
(
[0] => 1
[1] => 2
[2] => 3
[3] => a
[4] => b
[5] => c
[6] => d
[7] => e
)
```