15 lines
340 B
Plaintext
15 lines
340 B
Plaintext
/**
|
|
*
|
|
* Magic call to intercept any function pass to it.
|
|
*
|
|
* @param string $func The function to call.
|
|
*
|
|
* @param array $args Arguments passed to the function.
|
|
*
|
|
* @return mixed The result of the function call.
|
|
*
|
|
*/
|
|
public function __call($func, $args)
|
|
{
|
|
return call_user_func_array($func, $args);
|
|
} |