ReflectionMethod::invokeArgs

( excerpt from http://php

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

net/manual/en/reflectionmethod.invokeargs.php )

Invokes the reflected method and pass its arguments as array.

Parameters

  • $obj
  • array $args

Return Values

  • mixed - Returns the method result.