Initial Drupal 11 with DDEV setup
This commit is contained in:
		
							
								
								
									
										16
									
								
								vendor/consolidation/annotated-command/src/Hooks/OptionHookInterface.php
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								vendor/consolidation/annotated-command/src/Hooks/OptionHookInterface.php
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@ -0,0 +1,16 @@
 | 
			
		||||
<?php
 | 
			
		||||
namespace Consolidation\AnnotatedCommand\Hooks;
 | 
			
		||||
 | 
			
		||||
use Consolidation\AnnotatedCommand\AnnotationData;
 | 
			
		||||
use Symfony\Component\Console\Command\Command;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Add options to a command.
 | 
			
		||||
 *
 | 
			
		||||
 * @see HookManager::addOptionHook()
 | 
			
		||||
 * @see AnnotatedCommandFactory::addListener()
 | 
			
		||||
 */
 | 
			
		||||
interface OptionHookInterface
 | 
			
		||||
{
 | 
			
		||||
    public function getOptions(Command $command, AnnotationData $annotationData);
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user