Open
Description
Description
Like twig, I'd like to be able to call methods in expressions without the parenthesis.
Example
public function isValid() {
return $this->httpStatusCode == 200;
}
In the expression, e.g. for workflow
guard: 'subject.isValid()'
I'd like to be able to call it without the parenthsis.
And like Twig, it'd be great to not need the is or has prefix,
guard: 'subject.valid'