-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathVehicle.php
More file actions
32 lines (25 loc) · 796 Bytes
/
Vehicle.php
File metadata and controls
32 lines (25 loc) · 796 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
declare(strict_types=1);
namespace Yokai\EnumBundle\Tests\Unit\Fixtures;
/**
* Constant holder for all Vehicle*Enum classes.
*
* @author Yann Eugoné <eugone.yann@gmail.com>
*/
class Vehicle
{
public const TYPE_BIKE = 'bike';
public const TYPE_CAR = 'car';
public const TYPE_BUS = 'bus';
public const ENGINE_ELECTRIC = 'electic';
public const ENGINE_COMBUSTION = 'combustion';
public const BRAND_RENAULT = 'renault';
public const BRAND_VOLKSWAGEN = 'volkswagen';
public const BRAND_TOYOTA = 'toyota';
public const WHEELS_TWO = 2;
public const WHEELS_FOUR = 4;
public const WHEELS_EIGHT = 8;
public const PERIOD_COLLECTION = [1817, 1980];
public const PERIOD_OLD = [1981, 2010];
public const PERIOD_RECENT = [2010, 2024];
}