Abstract Factory
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package: patterns
|
||||
* @author: Yevhen Odynets
|
||||
* @date: 2025-07-03
|
||||
* @time: 19:57
|
||||
*/
|
||||
|
||||
//phpcs:ignore
|
||||
declare(strict_types = 1);
|
||||
|
||||
namespace Pattern\Creational\AbstractFactory;
|
||||
|
||||
class MeestDeliveryService implements DeliveryServiceInterface
|
||||
{
|
||||
public function sendPackage(PackageInterface $package): void
|
||||
{
|
||||
/** @noinspection ForgottenDebugOutputInspection */
|
||||
dump("Sending package via Meest...");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user