feat : Decorator Aop
This commit is contained in:
13
app/Interface/Test/Decorator/UserServiceInterface.php
Normal file
13
app/Interface/Test/Decorator/UserServiceInterface.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Interface\Test\Decorator;
|
||||
|
||||
interface UserServiceInterface
|
||||
{
|
||||
/**
|
||||
* 获取用户信息的接口
|
||||
* @param int $userId
|
||||
* @return array
|
||||
*/
|
||||
public function getUserInfo(int $userId): array;
|
||||
}
|
||||
Reference in New Issue
Block a user