Use an Enum for project type conditions

This commit is contained in:
Oliver Davies 2024-02-20 00:57:04 +00:00
parent 0eb7d1a1b6
commit 44e7f63760
3 changed files with 16 additions and 2 deletions

12
src/Enum/ProjectType.php Normal file
View file

@ -0,0 +1,12 @@
<?php
declare(strict_type=1);
namespace App\Enum;
enum ProjectType: string
{
// PHP.
case Drupal = 'drupal';
case Sculpin = 'sculpin';
}