PublishingKit/Utilities is a set of utility classes, including:
- A collection class
- A lazy collection class
- A string class
Via Composer
$ composer require publishing-kit/utilities
$coll = new PublishingKit\Utilities\Collections\Collection([]);
$lazy = new PublishingKit\Utilities\Collections\LazyCollection(function () {
for ($i = 0; $i < 5; $i++) {
yield $i;
}
});
$str = new PublishingKit\Utilities\Str('foo');
Please see CHANGELOG for more information on what has changed recently.
$ composer test
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email 450801+matthewbdaly@users.noreply.github.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.