PHP Classes

Decorator pattern: Implements the decorator design pattern

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 287 All time: 7,536 This week: 455Up
Version License PHP version Categories
decorator-pattern 1.1BSD License5.3PHP 5, Design Patterns
Description 

Author

This package implements the decorator design pattern.

It provides a base decorator class that implements the display function for library items.

The borrowable class extends the decorator class to register and delegate one or more objects to which the display function is delegated.

Picture of Shibly
Name: Shibly <contact>
Classes: 7 packages by
Country: Bangladesh Bangladesh

Details

Decorator-in-php ================ Decorator pattern implementation in php with namespace support

  Files folder image Files (7)  
File Role Description
Files folder imageAbstractClasses (1 file)
Files folder imageDecorator (2 files)
Files folder imageItems (2 files)
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file README.md Data Auxiliary data

  Files folder image Files (7)  /  AbstractClasses  
File Role Description
  Plain text file libraryItem.php Class Class source

  Files folder image Files (7)  /  Decorator  
File Role Description
  Plain text file Borrowable.php Class Class source
  Plain text file Decorator.php Class Class source

  Files folder image Files (7)  /  Items  
File Role Description
  Plain text file books.php Class Class source
  Plain text file Video.php Class Class source

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 Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:287
This week:0
All time:7,536
This week:455Up