move from old repository
This commit is contained in:
		
							
								
								
									
										15
									
								
								enums/Engine.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								enums/Engine.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
<?php
 | 
			
		||||
namespace DatabaseHelper\enums;
 | 
			
		||||
 | 
			
		||||
enum Engine
 | 
			
		||||
{
 | 
			
		||||
    case INNODB;
 | 
			
		||||
    case MYISAM;
 | 
			
		||||
 | 
			
		||||
    public function toString(): string {
 | 
			
		||||
        return match ($this) {
 | 
			
		||||
            self::INNODB => 'InnoDB',
 | 
			
		||||
            self::MYISAM => 'MyISAM',
 | 
			
		||||
        };
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user