Files
DesignPatternsPHP/Structural/Facade/uml/uml.txt
2014-07-29 11:04:10 -05:00

20 lines
320 B
Plaintext

@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