Recommend this page to a friend! |
Download |
Info | Example | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2024-07-06 (2 months ago) | Not yet rated by the users | Total: 31 | All time: 11,094 This week: 39 |
Version | License | PHP version | Categories | |||
observe 1.0 | MIT/X Consortium ... | 8 | E-Commerce, Design Patterns, PHP 8 |
<?php |
Files (8) |
File | Role | Description | ||
---|---|---|---|---|
src (5 files) | ||||
composer.json | Data | Auxiliary data | ||
composer.lock | Data | Auxiliary data | ||
index.php | Example | Example script |
Files (8) | / | src |
File | Role | Description |
---|---|---|
ControleEstoqueSubject.php | Class | Class to control product stocks by observing the quantities of product that is in stock and updates the product purchase requests |
ControleRequisicoesCompraObserver.php | Class | Class that observes the request for purchasing products that are running out of stock |
EmailObserver.php | Class | Class that observes the stock and sends an email message when the stock is low |
Observer.php | Class | Observer interface |
Subject.php | Class | Subject interface |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.