feat : Decorator Container

This commit is contained in:
2025-09-06 23:08:10 +08:00
parent 5e8cc5c61e
commit cc048c5600
13 changed files with 394 additions and 13 deletions

View 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;
}