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

This package is not auto-updated.

Last update: 2025-01-04 21:19:24 UTC


README

Build Status

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());