(PHP 5 >= 5.4.0, PHP 7, PHP 8)
ReflectionFunctionAbstract::getClosureScopeClass — Returns the scope class associated with the closure
Get the class enclosing the closure declaration.
У цієї функції немає параметрів.
Returns the class, or null
if the function is not a closure or if there was no enclosing class.