wnowicki/collections

0.4.0 2015-08-02 16:13 UTC

This package is auto-updated.

Last update: 2024-11-06 02:13:21 UTC


README

by WNowicki

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Install

Requirements

  • PHP >=5.5.0

Composer Installation

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

Collections Installation

php composer.phar require wnowicki/collections

Example

$collection = ObjectCollection::make('\Fruit');

$collection->add(new Apple())
    ->add(new Orange())
    ->add(new Apple());

Change Log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email dev@wojciechnowicki.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.