diff --git a/Structural/Adapter/uml/Adapter.uml b/Structural/Adapter/uml/Adapter.uml index dec7779..ddcb6ef 100644 --- a/Structural/Adapter/uml/Adapter.uml +++ b/Structural/Adapter/uml/Adapter.uml @@ -1,41 +1,41 @@ - - - PHP - \DesignPatterns\Structural\Adapter\Book - - \DesignPatterns\Structural\Adapter\EBookAdapter - \DesignPatterns\Structural\Adapter\Book - \DesignPatterns\Structural\Adapter\Kindle - \DesignPatterns\Structural\Adapter\EBookInterface - \DesignPatterns\Structural\Adapter\PaperBookInterface - - - - - - - - - - - - - - - - - - - - - - - - Fields - Constants - Constructors - Methods - - private - - + + + PHP + \DesignPatterns\Structural\Adapter\Book + + \DesignPatterns\Structural\Adapter\Book + \DesignPatterns\Structural\Adapter\BookInterface + \DesignPatterns\Structural\Adapter\EBookAdapter + \DesignPatterns\Structural\Adapter\EBookInterface + \DesignPatterns\Structural\Adapter\Kindle + + + + + + + + + + + + + + + + + + + + + + + + Fields + Constants + Constructors + Methods + + private + + diff --git a/Structural/Adapter/uml/uml.png b/Structural/Adapter/uml/uml.png index 2cf82a1..2d7db9f 100644 Binary files a/Structural/Adapter/uml/uml.png and b/Structural/Adapter/uml/uml.png differ diff --git a/Structural/Adapter/uml/uml.svg b/Structural/Adapter/uml/uml.svg index 4eec346..28e2b9c 100644 --- a/Structural/Adapter/uml/uml.svg +++ b/Structural/Adapter/uml/uml.svg @@ -1,448 +1,1158 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - open() - - - - - - - - - - turnPage() - - - - - - - - - - - - - Book - - - Book - - - - - - - - - - - - - - - - - - - eBook - - - - - - - - - - - - - __construct(ebook) - - - - - - - - - - - - - open() - - - - - - - - - - turnPage() - - - - - - - - - - - - - EBookAdapter - - - EBookAdapter - - - - - - - - - - - - - - - - - - - pressNext() - - - - - - - - - - pressStart() - - - - - - - - - - - - - Kindle - - - Kindle - - - - - - - - - - - - - - - - - - - pressNext() - - - - - - - - - - pressStart() - - - - - - - - - - - - - EBookInterface - - - EBookInterface - - - - - - - - - - - - - - - - - - - turnPage() - - - - - - - - - - open() - - - - - - - - - - - - - PaperBookInterface - - - PaperBookInterface - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + page + + + + + + + + + + + + + + + + open() + + + + + + + + + + + + + turnPage() + + + + + + + + + + + + + getPage() + + + + + + + + + + + + + Book + + + Book + + + + + + + + + + + + + + + + + + + + + + page + + + + + + + + + + + + + + + + + + + open() + + + + + + + + + + + + + + + + turnPage() + + + + + + + + + + + + + + + + getPage() + + + + + + + + + + + + + Book + + + Book + + + + + + + + + + + + + + + + + + + + + + turnPage() + + + + + + + + + + + + + open() + + + + + + + + + + + + + getPage() + + + + + + + + + + + + + BookInterface + + + BookInterface + + + + + + + + + + + + + + + + + + + + + + turnPage() + + + + + + + + + + + + + + + + open() + + + + + + + + + + + + + + + + getPage() + + + + + + + + + + + + + BookInterface + + + BookInterface + + + + + + + + + + + + + + + + + + + + + + + + + eBook + + + + + + + + + + + + + + + + __construct(eBook) + + + + + + + + + + + + + + + + open() + + + + + + + + + + + + + turnPage() + + + + + + + + + + + + + getPage() + + + + + + + + + + + + + EBookAdapter + + + EBookAdapter + + + + + + + + + + + + + + + + + + + + + + eBook + + + + + + + + + + + + + + + + + + + __construct(eBook) + + + + + + + + + + + + + + + + + + + open() + + + + + + + + + + + + + + + + turnPage() + + + + + + + + + + + + + + + + getPage() + + + + + + + + + + + + + EBookAdapter + + + EBookAdapter + + + + + + + + + + + + + + + + + + + + + + unlock() + + + + + + + + + + + + + pressNext() + + + + + + + + + + + + + getPage() + + + + + + + + + + + + + EBookInterface + + + EBookInterface + + + + + + + + + + + + + + + + + + + + + + unlock() + + + + + + + + + + + + + + + + pressNext() + + + + + + + + + + + + + + + + getPage() + + + + + + + + + + + + + EBookInterface + + + EBookInterface + + + + + + + + + + + + + + + + + + + + + + + + + totalPages + + + + + + + + + + + + + + + + page + + + + + + + + + + + + + + + + pressNext() + + + + + + + + + + + + + unlock() + + + + + + + + + + + + + getPage() + + + + + + + + + + + + + Kindle + + + Kindle + + + + + + + + + + + + + + + + + + + + + + totalPages + + + + + + + + + + + + + + + + page + + + + + + + + + + + + + + + + + + + pressNext() + + + + + + + + + + + + + + + + unlock() + + + + + + + + + + + + + + + + getPage() + + + + + + + + + + + + + Kindle + + + Kindle + + + + + + + + + + + + +