ReflectionMethod
PHP Manual

ReflectionMethod::export

(PHP 5)

ReflectionMethod::exportExport

Описание

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

Exports a ReflectionMethod.

Предупреждение

Към момента тази функция не е документирана; наличен е единствено списъкът с аргументите й.

Параметри

class

The class name.

name

The name of the method.

return

Setting to TRUE will return the export, as opposed to emitting it. Setting to FALSE (the default) will do the opposite.

Връщани стойности

If the return parameter is set to TRUE, then the export is returned as a string, otherwise NULL is returned.

Вж. също


ReflectionMethod
PHP Manual