In PHP, I am able to use a normal function as a variable without problem, but I haven\'t figured out how to use a static method. Am I just missing the right syntax, or is this
You could use the full name of static method, including the namespace.
The name array array('YourClass', 'staticMethod') is equal to it. But I think the string may be more clear for reading.
array('YourClass', 'staticMethod')