mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-08 16:06:31 +02:00
refactored Decorator pattern
This commit is contained in:
10
Structural/Decorator/Booking.php
Normal file
10
Structural/Decorator/Booking.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace DesignPatterns\Structural\Decorator;
|
||||
|
||||
interface Booking
|
||||
{
|
||||
public function calculatePrice(): int;
|
||||
|
||||
public function getDescription(): string;
|
||||
}
|
Reference in New Issue
Block a user