Last active
March 2, 2019 14:36
-
-
Save JackNoordhuis/a73dbf5cd32dac4ce44ad9177add3816 to your computer and use it in GitHub Desktop.
Enum IDE helper example
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
<?php | |
/** @noinspection ALL */ | |
// @formatter:off | |
/** | |
* A helper file for php-enums, to provide autocomplete information to your IDE. | |
* Generated on 2019-03-02 14:35:54. | |
* | |
* This file should not be included in your code, only analyzed by your IDE! | |
* | |
* @see https://github.com/NxtLvLSoftware/php-enums | |
*/ | |
namespace { | |
die("This file should not be included, only analyzed by your IDE!"); | |
} | |
namespace nxtlvlsoftware\tests\enums { | |
class TypeEnums { | |
/** | |
* @return mixed | |
*/ | |
public static function INT() {} | |
/** | |
* @return mixed | |
*/ | |
public static function BOOL() {} | |
/** | |
* @return mixed | |
*/ | |
public static function FLOAT() {} | |
/** | |
* @return mixed | |
*/ | |
public static function STRING() {} | |
/** | |
* @return mixed | |
*/ | |
public static function ARRAY() {} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment