feat : Decorator Container
This commit is contained in:
16
app/Interface/Test/Decorator/LoggerInterface.php
Normal file
16
app/Interface/Test/Decorator/LoggerInterface.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Interface\Test\Decorator;
|
||||
|
||||
interface LoggerInterface
|
||||
{
|
||||
/**
|
||||
* 定义日志接口
|
||||
* @param string $msg
|
||||
* @return void
|
||||
*/
|
||||
public function log(string $msg): void;
|
||||
public function debug(string $msg): void;
|
||||
public function error(string $msg): void;
|
||||
public function warning(string $msg): void;
|
||||
}
|
||||
Reference in New Issue
Block a user