Skip to content

Commit f70196d

Browse files
committed
Implement the Types class as Enum
1 parent d496185 commit f70196d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/Enum/Types.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
3+
namespace PhpDto\Enum;
4+
5+
use Enum\Enum;
6+
7+
class Types extends Enum
8+
{
9+
const INT = 'int';
10+
const FLOAT = 'float';
11+
const BOOL = 'bool';
12+
const STRING = 'string';
13+
const ARRAY = 'array';
14+
const CALLABLE = 'callable';
15+
}

0 commit comments

Comments
 (0)