Added DependencyInjection UML

This commit is contained in:
John Webb
2014-07-29 10:58:40 -05:00
parent 3a7e38f91d
commit aef2f34993
16 changed files with 59 additions and 27 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 21 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -4,12 +4,12 @@ class Assemble {
}
class Car {
+__construct()
+__construct(Workshop $workShop1, Workshop $workShop2)
+manufacture()
}
class Motorcycle {
+__construct()
+__construct(Workshop $workShop1, Workshop $workShop2)
+manufacture()
}
@@ -18,9 +18,9 @@ class Produce {
}
abstract class Vehicle {
protected workShop1
protected workShop2
+__construct()
#workShop1
#workShop2
#__construct()
+manufacture()
}