Open sasule opened 9 months ago
Describe the bug Getting enum value (e.g. for use as array key or link parameter) does not work.
Environment (please complete the following information):
Code
enum Status : string { case PUBLISHED => 'published', case HIDDEN => 'hidden', }
{* This produces warning "value" is undefined*} <a n:href=":Default:Foo:bar, fooParamerer => Status::PUBLISHED->value">...</a> {var string $value = Status::PUBLISHED->value}
@sasule it will be fixed in 2.0
Describe the bug Getting enum value (e.g. for use as array key or link parameter) does not work.
Environment (please complete the following information):
Code