EntityTypeEnum.php
1 <?php 2 3 namespace App\Enums; 4 5 use Spatie\Enum\Enum; 6 7 /** 8 * @method static self laboratory() 9 * @method static self consultancy() 10 * @method static self company() 11 * @method static self cab() 12 * @method static self ncca() 13 */ 14 class EntityTypeEnum extends Enum 15 { 16 protected static function values(): array 17 { 18 return [ 19 'laboratory' => 1, 20 'consultancy' => 2, 21 'company' => 3, 22 'cab' => 4, 23 'ncca' => 5, 24 ]; 25 } 26 }