Feature #34185

SignalSlot Dispatcher should check if Slot method is declared static and act accordingly

Added by Christian Müller over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Could have
Category:
SignalSlot
Target version:
-
Start date:
2012-02-22
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

Currently if you connect a $classname + $methodname as slot it will instantiate the class to call $methodname on the instance, even if the method is declared static. I think it wouldn't be a problem to call it static in this case to avoid problems with class instances that shouldn't be there normally.

Also available in: Atom PDF