ReflectionMethod::invokeArgs

( excerpt from http://php.net/manual/en/reflectionmethod.invokeargs.php )

public function invokeArgs(
  $obj,
  varray $args,
): mixed;

Invokes the reflected method and pass its arguments as array.

Parameters

  • $obj
  • varray $args

Returns

  • mixed - Returns the method result.