mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-09 16:36:37 +02:00
Added DependencyInjection UML
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.3 KiB |
@@ -1,20 +1,20 @@
|
||||
@startuml
|
||||
class Form {
|
||||
protected elements
|
||||
+render($indent = 0)
|
||||
#elements : array|FormElement[]
|
||||
+render($indent = 0 : int)
|
||||
+addElement(FormElement $element)
|
||||
}
|
||||
|
||||
abstract class FormElement {
|
||||
+render($indent = 0)
|
||||
+render($indent = 0 : int)
|
||||
}
|
||||
|
||||
class InputElement {
|
||||
+render($indent = 0)
|
||||
+render($indent = 0 : int)
|
||||
}
|
||||
|
||||
class TextElement {
|
||||
+render($indent = 0)
|
||||
+render($indent = 0 : int)
|
||||
}
|
||||
|
||||
FormElement <|.. TextElement
|
||||
|
Reference in New Issue
Block a user