removed ...Interface suffix and added method to interface

This commit is contained in:
Dominik Liebler
2018-11-06 20:18:30 +01:00
parent 9910fdf111
commit b0ac02f01e
9 changed files with 136 additions and 260 deletions

View File

@@ -2,6 +2,10 @@
namespace DesignPatterns\Creational\StaticFactory;
class FormatString implements FormatterInterface
class FormatString implements Formatter
{
public function format(string $input): string
{
return $input;
}
}