As you know, a zend-mvc view has fields that __get can return, used like this:
$page = $this->getView()->page;
PHPStan says Access to an undefined property which makes sense.
Ondre recommends a @property above the class, which doesn't work in this case, because I don't own PhpRenderer.php
Before I trudge down the PropertiesClassReflectionExtension path, have you done any work on this, or do you have an easier solution?
As you know, a zend-mvc view has fields that
__getcan return, used like this:PHPStan says
Access to an undefined propertywhich makes sense.Ondre recommends a
@propertyabove the class, which doesn't work in this case, because I don't ownPhpRenderer.phpBefore I trudge down the
PropertiesClassReflectionExtensionpath, have you done any work on this, or do you have an easier solution?