ReflectionMethod::invoke

( excerpt from http://php

public function invoke(
  $obj,
  ...$args,
): mixed;

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

Invokes a reflected method.

Parameters

  • $obj
  • ...$args

Return Values

  • mixed - Returns the method result.