mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-10-31 04:26:52 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			780 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			780 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| namespace App\Services\Servers;
 | |
| 
 | |
| class RandomWordService
 | |
| {
 | |
|     private const RANDOM_WORDS = [
 | |
|         'robin', 'seagull', 'pigeon', 'blue-jay', 'vulture', 'finch', 'falcon', 'phoenix', 'squirrel', 'parrot', 'hawk',
 | |
|         'sparrow', 'owl', 'swan', 'dove', 'cardinal', 'cow', 'penguin', 'chupacabra', 'spoonbill', 'humming', 'turkey',
 | |
|         'chicken', 'junco', 'eagle', 'woodpecker', 'mockingbird', 'grackle', 'lovebird', 'bluebird', 'magpie', 'starling',
 | |
|         'cockatiel', 'swallow', 'grosbeak', 'goose', 'forpus', 'budgerigar', 'mango', 'towhee', 'warbler', 'peregrine',
 | |
|         'nuthatch', 'chickadee', 'bananaquit', 'crow', 'raven', 'merlin', 'spatuletail',
 | |
|     ];
 | |
| 
 | |
|     public function word(): string
 | |
|     {
 | |
|         return array_random(self::RANDOM_WORDS);
 | |
|     }
 | |
| }
 |