starlit/observable

An implementation of the SplSubject interface.

1.0.0 2019-03-18 14:33 UTC

This package is auto-updated.

Last update: 2024-11-19 10:04:21 UTC


README

Build Status Code Coverage

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.