feat : Composite permission

This commit is contained in:
2025-09-07 20:04:28 +08:00
parent 714baffaf7
commit 7c789a2249
6 changed files with 273 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
<?php
namespace App\Interface\Test\Composite;
interface PermissionComponentInterface
{
/**
* @param string $permission
* @return bool
*/
public function check(string $permission): bool;
/**
* @return string
*/
public function getName(): string;
}