mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-09-25 22:09:23 +02:00
more simple an concise example of AbstractFactory
This commit is contained in:
8
Creational/AbstractFactory/Product.php
Normal file
8
Creational/AbstractFactory/Product.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace DesignPatterns\Creational\AbstractFactory;
|
||||
|
||||
interface Product
|
||||
{
|
||||
public function calculatePrice(): int;
|
||||
}
|
Reference in New Issue
Block a user