a REAL abstract factory not a helper-like full of static

This commit is contained in:
Trismegiste
2013-05-10 23:54:19 +02:00
parent 3a3937f339
commit eebdbc1dc5
11 changed files with 216 additions and 24 deletions

View File

@@ -2,7 +2,12 @@
namespace DesignPatterns\AbstractFactory;
/**
* This contract is not part of the pattern, in general case, each component
* are not related
*/
interface Media
{
function render();
}