Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2024-07-06 (13 hours ago) ![]() | Not yet rated by the users | Total: Not yet counted | Not yet ranked |
Version | License | PHP version | Categories | |||
observe 1.0 | MIT/X Consortium ... | 8 | E-Commerce, Design Patterns, PHP 8 |
Description | Author | |
This package can show how to control product stocks with the design observer pattern. |
<?php |
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Example | Example script |
![]() |
/ | src |
File | Role | Description |
---|---|---|
![]() |
Class | Class to control product stocks by observing the quantities of product that is in stock and updates the product purchase requests |
![]() |
Class | Class that observes the request for purchasing products that are running out of stock |
![]() |
Class | Class that observes the stock and sends an email message when the stock is low |
![]() |
Class | Observer interface |
![]() |
Class | Subject interface |
Version Control | Unique User Downloads | |||||||
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.