ReflectionMethod::export

(PHP 5, PHP 7)

ReflectionMethod::exportExport a reflection method

Aviso

This function has been DEPRECATED as of PHP 7.4.0. Relying on this function is highly discouraged.

Descrição

public static ReflectionMethod::export ( string $class , string $name [, bool $return = false ] ) : string

Exports a ReflectionMethod.

Aviso

Esta função não está documentada; somente a lista de argumentos está disponível.

Parâmetros

class

The class name.

name

The name of the method.

return

Passar true irá retornar o export, em vez de emiti-lo. Passar false (padrão) fará o oposto.

Valor Retornado

Se o parâmetro return for true então o export é retornado como uma string, senão retorna null.

Veja Também