mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-09-27 14:59:11 +02:00
Cleaned up code to be consistent, inc. adding docblocs, using PSR naming conventions & typos
Docblocs benefits: - IDE auto complete gives info on type etc - Auto documentation on CI
This commit is contained in:
@@ -3,11 +3,20 @@
|
||||
namespace DesignPatterns\AbstractFactory;
|
||||
|
||||
/**
|
||||
* Interface Media
|
||||
*
|
||||
* This contract is not part of the pattern, in general case, each component
|
||||
* are not related
|
||||
*
|
||||
* @package DesignPatterns\AbstractFactory
|
||||
*/
|
||||
interface Media
|
||||
{
|
||||
|
||||
/**
|
||||
* some crude rendering from JSON or html output (depended on concrete class)
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function render();
|
||||
}
|
||||
|
Reference in New Issue
Block a user