mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-28 18:50:11 +02:00
14 lines
265 B
PHP
14 lines
265 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace DesignPatterns\Structural\Decorator;
|
|
|
|
abstract class BookingDecorator implements Booking
|
|
{
|
|
protected Booking $booking;
|
|
|
|
public function __construct(Booking $booking)
|
|
{
|
|
$this->booking = $booking;
|
|
}
|
|
}
|