Initial Drupal 11 with DDEV setup
This commit is contained in:
		
							
								
								
									
										14
									
								
								vendor/consolidation/annotated-command/src/Hooks/ValidatorInterface.php
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								vendor/consolidation/annotated-command/src/Hooks/ValidatorInterface.php
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,14 @@
 | 
			
		||||
<?php
 | 
			
		||||
namespace Consolidation\AnnotatedCommand\Hooks;
 | 
			
		||||
 | 
			
		||||
use Consolidation\AnnotatedCommand\CommandData;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Validate the arguments for the current command.
 | 
			
		||||
 *
 | 
			
		||||
 * @see HookManager::addValidator()
 | 
			
		||||
 */
 | 
			
		||||
interface ValidatorInterface
 | 
			
		||||
{
 | 
			
		||||
    public function validate(CommandData $commandData);
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user