mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-19 14:21:15 +02:00
README AbstractFactory
This commit is contained in:
@@ -3,12 +3,7 @@
|
|||||||
namespace DesignPatterns\AbstractFactory;
|
namespace DesignPatterns\AbstractFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Abstract Factory pattern
|
* class AbstractFactory
|
||||||
*
|
|
||||||
* Purpose:
|
|
||||||
* to create series of related or dependant objects without specifying their concrete classes,
|
|
||||||
* usually the created classes all implement the same interface. The client of the abstract
|
|
||||||
* factory does not care about how these objects are created, he just knows they go together.
|
|
||||||
*
|
*
|
||||||
* Sometimes also known as "Kit" in a GUI libraries.
|
* Sometimes also known as "Kit" in a GUI libraries.
|
||||||
*
|
*
|
||||||
|
6
AbstractFactory/README.md
Normal file
6
AbstractFactory/README.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# Abstract Factory
|
||||||
|
|
||||||
|
## Purpose
|
||||||
|
|
||||||
|
To create series of related or dependant objects without specifying their concrete classes.
|
||||||
|
Usually the created classes all implement the same interface. The client of the abstract factory does not care about how these objects are created, he just knows how they go together.
|
Reference in New Issue
Block a user