You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							19 lines
						
					
					
						
							417 B
						
					
					
				
			
		
		
	
	
							19 lines
						
					
					
						
							417 B
						
					
					
				<?php
 | 
						|
 | 
						|
namespace App\Models\Validation;
 | 
						|
 | 
						|
use App\Models\Validation\ModelValidationByName;
 | 
						|
use App\Models\Validation\Messages\UserMessagesFactory;
 | 
						|
 | 
						|
class UserValidationByMatrixUsername extends ModelValidationByName
 | 
						|
{
 | 
						|
    public function __construct(string $name)
 | 
						|
    {
 | 
						|
        parent::__construct(
 | 
						|
            $name,
 | 
						|
            'App\Models\User',
 | 
						|
            (new UserMessagesFactory())->create(),
 | 
						|
        );
 | 
						|
    }
 | 
						|
}
 |