* #36 - wip * #36 - wip * #36 - wip * #36 - added some translations * #36 - fix * #36 - fix Co-authored-by: EwelinaLasowy <ewelina.lasowy@blumilk.pl>
		
			
				
	
	
		
			14 lines
		
	
	
		
			262 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			262 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| declare(strict_types=1);
 | |
| 
 | |
| namespace Toby\Domain\Validation\Rules;
 | |
| 
 | |
| use Toby\Eloquent\Models\VacationRequest;
 | |
| 
 | |
| interface VacationRequestRule
 | |
| {
 | |
|     public function check(VacationRequest $vacationRequest): bool;
 | |
|     public function errorMessage(): string;
 | |
| }
 |