mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-06 15:06:31 +02:00
removed ...Interface suffix and added method to interface
This commit is contained in:
8
Creational/StaticFactory/Formatter.php
Normal file
8
Creational/StaticFactory/Formatter.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace DesignPatterns\Creational\StaticFactory;
|
||||
|
||||
interface Formatter
|
||||
{
|
||||
public function format(string $input): string;
|
||||
}
|
Reference in New Issue
Block a user