ReflectionMethod::getClosure
Returns a dynamically created closure for the method
Signature
public function getClosure(string
$object )
Parameters
$object
— string
Returns
- Closure
public function getClosure(string
$object )
$object
—
string