ReflectionMethod::invoke

( excerpt from http://php

public function invoke(
  $obj,
): mixed;

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

Invokes a reflected method.

Parameters

  • $obj

Return Values

  • mixed - Returns the method result.