Compare commits
	
		
			2 Commits
		
	
	
		
			532cecfcad
			...
			f33fb69150
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| f33fb69150 | |||
| 94b554ea08 | 
							
								
								
									
										10
									
								
								src/Attribute/Security.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								src/Attribute/Security.php
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,10 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Notes\Security\Attribute;
 | 
			
		||||
 | 
			
		||||
#[\Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_METHOD | \Attribute::TARGET_CLASS)]
 | 
			
		||||
class Security implements \Notes\Attribute {
 | 
			
		||||
    public function __construct(
 | 
			
		||||
        public null|bool $locked = null,
 | 
			
		||||
    ) {}
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										11
									
								
								src/Attribute/Taxus.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								src/Attribute/Taxus.php
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,11 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Notes\Security\Attribute;
 | 
			
		||||
 | 
			
		||||
#[\Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_METHOD | \Attribute::TARGET_CLASS)]
 | 
			
		||||
class Taxus implements \Notes\Attribute {
 | 
			
		||||
    public function __construct(
 | 
			
		||||
        public string $module,
 | 
			
		||||
        public string $privilege = "",
 | 
			
		||||
    ) {}
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user