Load Library with static functions |
Hello there.
One question for my actually project. I have a library, there is only one static public function. Must I load the library or can I only use the "use" command ? Or easier "$var = \App\Libraries\MyLib::myFunction($param)" Thanks in advance, Kighlander
What do you mean?
PHP Code: new \Namespace\Class();
Finally I got it
With the "use" command I solved it. I managed it with the static method call. $var = MyStaticClass::mystaticmehthod($param) |
Welcome Guest, Not a member yet? Register Sign In |