Create initial structure and classes
This commit is contained in:
		
							
								
								
									
										23
									
								
								src/ReasonStatusInterface.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								src/ReasonStatusInterface.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| <?php | ||||
|  | ||||
| declare(strict_types=1); | ||||
|  | ||||
| namespace Anwinged\Reason; | ||||
|  | ||||
| interface ReasonStatusInterface | ||||
| { | ||||
|     /** | ||||
|      * @return bool | ||||
|      */ | ||||
|     public function isSuccess(): bool; | ||||
|  | ||||
|     /** | ||||
|      * @return bool | ||||
|      */ | ||||
|     public function isFail(): bool; | ||||
|  | ||||
|     /** | ||||
|      * @return int | ||||
|      */ | ||||
|     public function getWeight(): int; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user