Closed belisoful closed 10 months ago
Dang. I found another PHPStan bug that impacts this enhancement.
The way behaviors are implemented in PRADO allows for static calls to pre-attached behaviors that other platforms can't do. This is quite unique and should implemented for maximum potential. The new ISingleton also enables static calls to behaviors attached to a singleton as well.
TComponent::__callStatic could search the _um list of global behaviors for the static method (and each parent likewise).