by WNowicki
PHP >=5.5.0
To install collection library you will need to use Composer in your project. If you aren't using Composer yet, it's really simple!
curl -sS https://getcomposer.org/installer | php
php composer.phar require wnowicki/collections
$collection = ObjectCollection::make('\Fruit');
$collection->add(new Apple())
->add(new Orange())
->add(new Apple());
Please see CHANGELOG for more information what has changed recently.
$ composer test
Please see CONTRIBUTING for details.
If you discover any security related issues, please email dev@wojciechnowicki.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.