PHP Velho Oeste 2024

ReflectionFunctionAbstract::getClosureThis

(PHP 5 >= 5.4.0, PHP 7, PHP 8)

ReflectionFunctionAbstract::getClosureThisReturns this pointer bound to closure

Descrição

public ReflectionFunctionAbstract::getClosureThis(): ?object

If the function is a non-static closure, get the object bound to $this inside the closure.

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

Returns $this pointer. Returns null in case of an error.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top