for example i have 2 Classes:
"Main" and "Dll_Main_Bla".
Class "Dll_Main_Bla" has static methods only! for example
public static function doIt($argument){return $argument*2;};
Inside Main I have static variable
public static $dll_bla = 'Dll_Main_Bla';
In non-static method of Class Main I want To call:
$x = Dll_Main_Bla::doIt(2);
but I want to centralize initializing of my Dlls and call them like here:
// how to ???
$x = self::$dll_bla::doIt(2);
Yes, it doesn't works, but you might understand what exactly I want. :) How would I write that line to make it workable? Thanks for any proposition!