Closed mityukov closed 7 years ago
I mean, is this feature even presumed?
Let say, I have a base class:
class ABook { const TYPE_NOVEL = 'novel', const TYPE_USER_MANUAL = 'manual'; const TYPE_COLORING_BOOK = 'coloring'; // ... }
Then, in another file, I want to reference one of those constants:
class UsedBook extends ABook { // ... if ($this->type == self::TYPE_ /// <<< here, I need a list of all available types to be suggested
Sorry, it looks I just had to wait a bit longer :-)
I mean, is this feature even presumed?
Let say, I have a base class:
Then, in another file, I want to reference one of those constants: