mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-30 19:50:12 +02:00
remove Interface-Suffix
This commit is contained in:
12
Behavioral/NullObject/Logger.php
Normal file
12
Behavioral/NullObject/Logger.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace DesignPatterns\Behavioral\NullObject;
|
||||
|
||||
/**
|
||||
* Key feature: NullLogger must inherit from this interface like any other loggers
|
||||
*/
|
||||
interface Logger
|
||||
{
|
||||
public function log(string $str);
|
||||
}
|
Reference in New Issue
Block a user