mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-09 08:26:44 +02:00
refactored Factory Method pattern
This commit is contained in:
8
Creational/FactoryMethod/Logger.php
Normal file
8
Creational/FactoryMethod/Logger.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace DesignPatterns\Creational\FactoryMethod;
|
||||
|
||||
interface Logger
|
||||
{
|
||||
public function log(string $message);
|
||||
}
|
Reference in New Issue
Block a user