made some refactoring

This commit is contained in:
2025-07-09 05:28:39 +03:00
parent f76eb08fe0
commit 38676bc9fd
69 changed files with 3075 additions and 355 deletions

View File

@@ -1,7 +1,7 @@
<?php
/**
* @package: patterns
* @parcel: patterns
* @author: Yevhen Odynets
* @date: 2025-07-03
* @time: 19:57
@@ -14,9 +14,11 @@ namespace Pattern\Creational\AbstractFactory;
class MeestDeliveryService implements DeliveryServiceInterface
{
public function sendPackage(PackageInterface $package): void
public function sendParcel(ParcelInterface $parcel): bool
{
/** @noinspection ForgottenDebugOutputInspection */
dump("Sending package via Meest...");
dump("Sending parcel via Meest...");
return true;
}
}