Updated uml diagrams for structural patterns

This commit is contained in:
John Webb
2014-07-31 13:27:12 -05:00
parent 6dd33fd433
commit d42043c36c
39 changed files with 3731 additions and 219 deletions

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<Diagram>
<ID>PHP</ID>
<OriginalElement>\DesignPatterns\Structural\Facade\BiosInterface</OriginalElement>
<nodes>
<node x="0.0" y="174.0">\DesignPatterns\Structural\Facade\BiosInterface</node>
<node x="208.0" y="174.0">\DesignPatterns\Structural\Facade\OsInterface</node>
<node x="0.0" y="0.0">\DesignPatterns\Structural\Facade\Facade</node>
</nodes>
<notes />
<edges />
<settings layout="Hierarchic Group" zoom="1.0" x="149.0" y="140.5" />
<SelectedNodes>
<node>\DesignPatterns\Structural\Facade\BiosInterface</node>
</SelectedNodes>
<Categories>
<Category>Fields</Category>
<Category>Constants</Category>
<Category>Constructors</Category>
<Category>Methods</Category>
</Categories>
<VISIBILITY>private</VISIBILITY>
</Diagram>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 48 KiB

View File

@@ -1,20 +0,0 @@
@startuml
interface BiosInterface {
+execute()
+waitForKeyPress()
+launch(OsInterface $os)
+powerDown()
}
class Facade {
#$os : OsInterface
#$bios : BiosInterface
+__construct(BiosInterface $bios, OsInterface $os)
+turnOn()
+turnOff()
}
interface OsInterface {
+halt()
}
@enduml