ConsistencyChecker will throw Grifart\Enum\UsageException: You have forgotten to add @method annotations for enum 'Survilla\Enum\Enum'. Documentation block should contain if Survilla\Enum\Enum is an abstract class declaring provideInstances method.
/**
*@method static ExampleEnum ONE()
*@method static ExampleEnum TWO()
*@method static ExampleEnum THREE()
*/
class ExampleEnum extends MyEnumsAbstract {
private const ONE = 'one';
private const TWO = 'two';
private const THREE = 'three';
}
abstract class MyEnumsAbstract extends \Grifart\Enum\Enum {
use Grifart\Enum\AutoInstances;
/** Some common behavior... **/
}