mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-06-02 12:04:51 +02:00
fixed misspellings of dependent
This commit is contained in:
parent
75768be92f
commit
a813157de1
@ -2,5 +2,5 @@
|
||||
|
||||
## Purpose
|
||||
|
||||
To create series of related or dependant objects without specifying their concrete classes.
|
||||
To create series of related or dependent 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.
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
## Purpose
|
||||
|
||||
Similar to the AbstractFactory, this pattern is used to create series of related or dependant objects.
|
||||
Similar to the AbstractFactory, this pattern is used to create series of related or dependent objects.
|
||||
The difference between this and the abstract factory pattern is that the static factory pattern uses just one static
|
||||
method to create all types of objects it can create. It is usually named `factory` or `build`.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user