ReflectionMethod::getClosure

( excerpt from http://php

public function getClosure(
  $object = null,
): ?Closure;

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

Warning: This function is currently not documented; only its argument list is available.

Parameters

  • $object = null

Return Values

  • mixed - Returns Closure. Returns NULL in case of an error.