anper/callable-aggregate

This package is abandoned and no longer maintained. No replacement package was suggested.

Aggregating the same callable types to one invoking object.

v0.3.0 2021-01-07 14:15 UTC

This package is auto-updated.

Last update: 2022-06-16 09:56:45 UTC


README

Software License Latest Version on Packagist Build Status

Aggregating the same callable types to one invoking object.

Install

$ composer require anper/callable-aggregate

Usage

use Anper\CallableAggregate\CallableAggregate;

$aggregate = new CallableAggregate();
$aggregate->append(function ($arg) {
    echo $arg;
});

$aggregate('hello');

Test

$ composer test

Contributing

Please see CONTRIBUTING for details.

License

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