Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Latest commit

 

History

History
47 lines (31 loc) · 1.06 KB

README.md

File metadata and controls

47 lines (31 loc) · 1.06 KB

Anper\CallableAggregate

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.