-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BC: Changed DataType from AbstractEnumeration -> native enum.
- Loading branch information
Showing
7 changed files
with
13 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ jobs: | |
- 8.1 | ||
- 8.2 | ||
- 8.3 | ||
- 8.4 | ||
dependencies: | ||
- hi | ||
- lo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,12 @@ | ||
<?php | ||
namespace ScriptFUSION\Mapper; | ||
|
||
use Eloquent\Enumeration\AbstractEnumeration; | ||
|
||
/** | ||
* Specifies a PHP data type. | ||
* | ||
* @method static self BOOLEAN | ||
* @method static self INTEGER | ||
* @method static self FLOAT | ||
* @method static self STRING | ||
* @method static self MAP | ||
* @method static self OBJECT | ||
*/ | ||
final class DataType extends AbstractEnumeration | ||
enum DataType | ||
{ | ||
const BOOLEAN = 'boolean'; | ||
const INTEGER = 'integer'; | ||
const FLOAT = 'float'; | ||
const STRING = 'string'; | ||
const MAP = 'array'; | ||
const OBJECT = 'object'; | ||
case Boolean; | ||
case Integer; | ||
case Float; | ||
case String; | ||
case Array; | ||
case Object; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters