In normal way, I know that we can call parent static method with ::
sign but it seems that in Yii2 Framework, we should call static components method via arrow sign (object operator).
I'd like to know how its possible?
For example, in
$foo->on(Foo::EVENT_HELLO, 'function_name');
on()
is an static method of yii\base\component
but we call it with arrow.