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