|
ReflectionMethod クラスはじめにReflectionMethod クラスは メソッドについての情報を報告します。 クラス概要
ReflectionMethod
extends
ReflectionFunctionAbstract
/* 定数 */
public
const
int
ReflectionMethod::IS_STATIC;
public
const
int
ReflectionMethod::IS_PUBLIC;
public
const
int
ReflectionMethod::IS_PROTECTED;
public
const
int
ReflectionMethod::IS_PRIVATE;
public
const
int
ReflectionMethod::IS_ABSTRACT;
public
const
int
ReflectionMethod::IS_FINAL;
/* プロパティ */
public
string
$class;
/* 継承したプロパティ */
public
string
$name;
/* メソッド */
public ReflectionMethod::__construct(objectstring
$objectOrMethod , string $method )public ReflectionMethod::__construct(string
$classMethod )public static static ReflectionMethod::createFromMethodName(string
$method )public static string ReflectionMethod::export(string
$class , string $name , bool $return = false )public Closure ReflectionMethod::getClosure(objectnull
$object = null )public ReflectionClass ReflectionMethod::getDeclaringClass()
public int ReflectionMethod::getModifiers()
public ReflectionMethod ReflectionMethod::getPrototype()
public bool ReflectionMethod::hasPrototype()
public mixed ReflectionMethod::invoke(objectnull
$object , mixed ...$args )public mixed ReflectionMethod::invokeArgs(objectnull
$object , array $args )public bool ReflectionMethod::isAbstract()
public bool ReflectionMethod::isConstructor()
public bool ReflectionMethod::isDestructor()
public bool ReflectionMethod::isFinal()
public bool ReflectionMethod::isPrivate()
public bool ReflectionMethod::isProtected()
public bool ReflectionMethod::isPublic()
public void ReflectionMethod::setAccessible(bool
$accessible )public string ReflectionMethod::__toString()
/* 継承したメソッド */
private void __clone()
public array getAttributes(stringnull
$name = null , int $flags = 0)public ReflectionClassnull getClosureCalledClass()
public ReflectionClassnull getClosureScopeClass()
public objectnull getClosureThis()
public array getClosureUsedVariables()
public stringfalse getDocComment()
public intfalse getEndLine()
public ReflectionExtensionnull getExtension()
public stringfalse getExtensionName()
public stringfalse getFileName()
public string getName()
public string getNamespaceName()
public int getNumberOfParameters()
public int getNumberOfRequiredParameters()
public array getParameters()
public ReflectionTypenull getReturnType()
public string getShortName()
public intfalse getStartLine()
public array getStaticVariables()
public ReflectionTypenull getTentativeReturnType()
public bool hasReturnType()
public bool hasTentativeReturnType()
public bool inNamespace()
public bool isClosure()
public bool isDeprecated()
public bool isGenerator()
public bool isInternal()
public bool isStatic()
public bool isUserDefined()
public bool isVariadic()
public bool returnsReference()
abstract public void __toString()
プロパティ
定義済み定数ReflectionMethod の修飾子
変更履歴
|