briward / itemlist
Provides a way to build strongly typed lists of values. Provides methods to search, sort, and manipulate lists. Heavily inspired by the .NET List<T> class.
dev-master
2018-06-26 12:27 UTC
Requires
- php: ^5.6 || ^7.0
Requires (Dev)
- phpunit/phpunit: 5.4.*
This package is not auto-updated.
Last update: 2025-01-04 21:19:24 UTC
README
Provides a way to build strongly typed lists of values. Provides methods to search, sort, and manipulate lists. Heavily inspired by the .NET List class.
Installation
composer require briward/itemlist
Example usage
use Briward\ItemList\ItemList;
class Foo {}
$list = new ItemList('Foo');
$list->add(new Foo());
print_r($list->items());