first commit
This commit is contained in:
		
							
								
								
									
										15
									
								
								vendor/seld/cli-prompt/res/example.php
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								vendor/seld/cli-prompt/res/example.php
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| <?php | ||||
|  | ||||
| require __DIR__.'/../vendor/autoload.php'; | ||||
|  | ||||
| echo 'Say hello (visible): '; | ||||
|  | ||||
| $answer = Seld\CliPrompt\CliPrompt::prompt(); | ||||
|  | ||||
| echo 'You answered: '.$answer . PHP_EOL; | ||||
|  | ||||
| echo 'Say hello (hidden): '; | ||||
|  | ||||
| $answer = Seld\CliPrompt\CliPrompt::hiddenPrompt(); | ||||
|  | ||||
| echo 'You answered: '.$answer . PHP_EOL; | ||||
		Reference in New Issue
	
	Block a user