Calling a static method syntax

General discussion on PHP

Calling a static method syntax

Postby ray3336 on Wed Oct 12, 2016 4:48 pm

I ran across a static method call using the following syntax:
class::method($parm)->run();
I have seen the first part of the call. What does the "->run()" do?
Thanks....
ray3336
 
Posts: 1
Joined: Wed Oct 12, 2016 4:44 pm

Return to PHP

Who is online

Users browsing this forum: No registered users and 1 guest