- WIP on attributes

This commit is contained in:
Dave Mc Nicoll 2023-01-26 18:50:16 +00:00
parent 94b554ea08
commit b6a36319d1
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ namespace Notes\Security\Attribute;
#[\Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_METHOD | \Attribute::TARGET_CLASS)] #[\Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_METHOD | \Attribute::TARGET_CLASS)]
class Taxus implements \Notes\Attribute { class Taxus implements \Notes\Attribute {
public function __construct( public function __construct(
public string $module,
public string $privilege = "", public string $privilege = "",
public null|string $module = null,
) {} ) {}
} }