starlit / observable
An implementation of the SplSubject interface.
Installs: 35 703
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 1
Open Issues: 0
Requires
- php: >=7.1
Requires (Dev)
- phpunit/phpunit: ^7.5
This package is auto-updated.
Last update: 2024-12-19 10:06:06 UTC
README
An implementation of the SplSubject interface http://php.net/manual/en/class.splsubject.php. Use together with SplObserver to implement the observer design pattern.
Installation
Add the package as a requirement to your composer.json
:
$ composer require starlit/observable
##Requirements
- Requires PHP 7.1 or above.
##License
This software is licensed under the BSD 3-Clause License - see the LICENSE
file for details.