Skip to content

alecchepkin/php-design-patterns

Repository files navigation

Design Patterns

Behavioral Creational Structural
Chain of Responsibility Abstract Factory Adapter
Command Builder Bridge
Interpreter Factory Method Composite
Iterator Prototype Decorator
Mediator Singleton Facade
Memento Flyweight
Observer Proxy
State
Strategy
Template Method
Visitor

BCS

Relations between classes

aggregation агрегация (aggregation) — описывает связь «часть»–«целое», в котором «часть» может существовать отдельно от «целого». Ромб указывается со стороны «целого».

composition композиция (composition) — подвид агрегации, в которой «части» не могут существовать отдельно от «целого».

dependency зависимость (dependency) — A dashed arrowhead line indicates a class that instantiates objects of another class. The arrow points to the class of the instantiated objects.

generalization обобщение (generalization) — отношение наследования или реализации интерфейса. Со стороны стрелки находится суперкласс или интерфейс.

About

Design Patterns

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages