anper / callable-aggregate
Aggregating the same callable types to one invoking object.
Installs: 2 524
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^7.1||^8.0
Requires (Dev)
- phpstan/phpstan: ^0.12.29
- phpunit/phpunit: ^7.0||^8.0||^9.0
- squizlabs/php_codesniffer: ^3.0
This package is auto-updated.
Last update: 2022-06-16 09:56:45 UTC
README
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.