Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaef2f34

Browse files
committed
Added DependencyInjection UML
1 parent3a7e38f commitaef2f34

File tree

16 files changed

+59
-27
lines changed

16 files changed

+59
-27
lines changed

‎Structural/Bridge/uml/uml.png

5.04 KB
Loading

‎Structural/Bridge/uml/uml.svg

Lines changed: 1 addition & 1 deletion
Loading

‎Structural/Bridge/uml/uml.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ class Assemble {
44
}
55

66
class Car {
7-
+__construct()
7+
+__construct(Workshop $workShop1, Workshop $workShop2)
88
+manufacture()
99
}
1010

1111
class Motorcycle {
12-
+__construct()
12+
+__construct(Workshop $workShop1, Workshop $workShop2)
1313
+manufacture()
1414
}
1515

@@ -18,9 +18,9 @@ class Produce {
1818
}
1919

2020
abstract class Vehicle {
21-
protectedworkShop1
22-
protectedworkShop2
23-
+__construct()
21+
#workShop1
22+
#workShop2
23+
#__construct()
2424
+manufacture()
2525
}
2626

‎Structural/Composite/uml/uml.png

430 Bytes
Loading

‎Structural/Composite/uml/uml.svg

Lines changed: 1 addition & 1 deletion
Loading

‎Structural/Composite/uml/uml.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
@startuml
22
class Form {
3-
protectedelements
4-
+render($indent = 0)
3+
#elements : array|FormElement[]
4+
+render($indent = 0 : int)
55
+addElement(FormElement $element)
66
}
77

88
abstract class FormElement {
9-
+render($indent = 0)
9+
+render($indent = 0 : int)
1010
}
1111

1212
class InputElement {
13-
+render($indent = 0)
13+
+render($indent = 0 : int)
1414
}
1515

1616
class TextElement {
17-
+render($indent = 0)
17+
+render($indent = 0 : int)
1818
}
1919

2020
FormElement <|.. TextElement

‎Structural/DataMapper/uml/uml.png

1.99 KB
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp