ldc-enum/src/Exceptions/EmptyDefinitionException.php
Jérémy Munsch 34965dee37
Fix #1
- Strict check for enum duplicates
- Added check for empty enum definition
- Added check for duplicated enum definition
2021-11-18 17:51:58 +01:00

16 lines
280 B
PHP

<?php
namespace Kwaadpepper\Enum\Exceptions;
use Exception;
/**
* Is thrown when your enum definition
* contain multiple times the same label value
*
* This should happen if you have a duplication declaration
*/
class EmptyDefinitionException extends Exception
{
//
}