mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-11 09:24:01 +02:00
removed ...Interface suffix and added 2nd service to Bridge example
This commit is contained in:
8
Structural/Bridge/Formatter.php
Normal file
8
Structural/Bridge/Formatter.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace DesignPatterns\Structural\Bridge;
|
||||
|
||||
interface Formatter
|
||||
{
|
||||
public function format(string $text): string;
|
||||
}
|
Reference in New Issue
Block a user