Reflection
PHP Manual

ReflectionMethod Sınıfı

Giriş

ReflectionMethod sınıfı bir yöntem hakkında bilgi edinilmesini sağlar.

Sınıf Sözdizimi

ReflectionMethod
ReflectionMethod extends ReflectionFunctionAbstract implements Reflector {
/* Sabitler */
const integer ReflectionMethod::IS_STATIC = 1 ;
const integer ReflectionMethod::IS_PUBLIC = 256 ;
const integer ReflectionMethod::IS_PROTECTED = 512 ;
const integer ReflectionMethod::IS_PRIVATE = 1024 ;
const integer ReflectionMethod::IS_ABSTRACT = 2 ;
const integer ReflectionMethod::IS_FINAL = 4 ;
/* Özellikler */
public $name ;
public $class ;
/* Yöntemler */
__construct ( string $sınıf_veya_yöntem [, string $isim ] )
public static string export ( string $sınıf , string $isim [, bool $return = false ] )
public ReflectionClass getDeclaringClass ( void )
public int getModifiers ( void )
public void getPrototype ( void )
public mixed invoke ( object $nesne , string $değiştirgeler )
public mixed invokeArgs ( string $nesne , array $değiştirgeler )
public bool isAbstract ( void )
public bool isConstructor ( void )
public bool isDestructor ( void )
public bool isFinal ( void )
public bool isPrivate ( void )
public bool isProtected ( void )
public bool isPublic ( void )
public bool isStatic ( void )
public string __toString ( void )
/* Miras alınan yöntemler */
final private void ReflectionFunctionAbstract::__clone ( void )
public ReflectionExtension ReflectionFunctionAbstract::getExtension ( void )
public string ReflectionFunctionAbstract::getName ( void )
public ReflectionParameter ReflectionFunctionAbstract::getParameters ( void )
abstract public void ReflectionFunctionAbstract::__toString ( void )
}

Özellikler

name

İsim

class

Sınıf

Öntanımlı Sabitler

ReflectionMethod Düğüm türleri

ReflectionMethod::IS_STATIC
ReflectionMethod::IS_PUBLIC
ReflectionMethod::IS_PROTECTED
ReflectionMethod::IS_PRIVATE
ReflectionMethod::IS_ABSTRACT
ReflectionMethod::IS_FINAL

İçindekiler


Reflection
PHP Manual