Created
October 11, 2021 06:58
-
-
Save devlubinets/a4651d9237530dc94ffd1230f60ce57e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BuilderWebSite extends Builder implements IBuilderWebSite | |
{ | |
private ProductWebSite $product; | |
public function __construction(ProductWebSite $obj) | |
{ | |
$this->product = $obj; | |
} | |
public function createTitle():void | |
{ | |
$this->product->parts["title"] = "<title>WebSite</title>"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment