The repository provides two PHP interfaces for iterable collections:
CollectionInterface
for simple collectionsCountableCollectionInterface
for countable collections
This library is available through Packagist and can be installed using Composer:
composer require codeinc/collection-interface
This library is published under the MIT license (see the LICENSE
file).