refactored Decorator pattern

This commit is contained in:
Dominik Liebler
2018-06-22 10:06:50 +02:00
parent 50cb2ea8d0
commit 4c0fbf4a7c
12 changed files with 107 additions and 103 deletions

View File

@@ -0,0 +1,10 @@
<?php
namespace DesignPatterns\Structural\Decorator;
interface Booking
{
public function calculatePrice(): int;
public function getDescription(): string;
}