thispagecannotbefound / php-signals
There is no license information available for the latest version (0.0.1) of this package.
PHP library inspired by Robert Penner's AS3 Signals.
0.0.1
2014-05-27 10:08 UTC
Requires
- php: >=5.3.3
Requires (Dev)
- phpunit/phpunit: ~4.1
This package is not auto-updated.
Last update: 2024-12-31 07:47:58 UTC
README
PHP Signals & Slots library inspired by Robert Penner's AS3 Signals.
Usage
Basic Signal example:
$signal = new Signal();
$signal->add(function($value) {
echo 'Received value: ' . $value;
});
$signal->dispatch('Hello World!');
// Output: "Received value: Hello World!"