ReflectionObject Sınıfı

(PHP 5, PHP 7)

Giriş

ReflectionObject sınıfı bir nesne (object) hakkında bigi edinilmesini sağlar.

Sınıf Sözdizimi

ReflectionObject extends ReflectionClass implements Reflector {
/* Sabitler */
const integer IS_IMPLICIT_ABSTRACT = 16 ;
const integer IS_EXPLICIT_ABSTRACT = 32 ;
const integer IS_FINAL = 64 ;
/* >Özellikler */
/* Yöntemler */
__construct ( object $değiştirge )
public static export ( string $değiştirge , bool $ihracet = ? ) : string
/* Miras alınan yöntemler */
ReflectionClass::__construct ( string $değiştirge )
public static ReflectionClass::export ( mixed $değiştirge , bool $ihracet = false ) : string
public ReflectionClass::getConstant ( string $isim ) : mixed
public ReflectionClass::getConstants ( int|null $filter = null ) : array
public ReflectionClass::getConstructor ( ) : object
public ReflectionClass::getDocComment ( ) : string
public ReflectionClass::getEndLine ( ) : int
public ReflectionClass::getFileName ( ) : string
public ReflectionClass::getInterfaces ( ) : array
public ReflectionClass::getMethod ( string $isim ) : object
public ReflectionClass::getMethods ( string $süzgeç = ? ) : array
public ReflectionClass::getName ( ) : string
public ReflectionClass::getParentClass ( ) : object
public ReflectionClass::getProperties ( int $süzgeç = ? ) : array
public ReflectionClass::getReflectionConstants ( int|null $filter = null ) : array
public ReflectionClass::getShortName ( ) : string
public ReflectionClass::getStaticPropertyValue ( string $isim , string $öntanımlı = ? ) : mixed
public ReflectionClass::getTraitNames ( ) : array
public ReflectionClass::getTraits ( ) : array
public ReflectionClass::hasConstant ( string $isim ) : bool
public ReflectionClass::hasMethod ( string $isim ) : bool
public ReflectionClass::hasProperty ( string $isim ) : bool
public ReflectionClass::implementsInterface ( string $arayüz ) : bool
public ReflectionClass::inNamespace ( ) : bool
public ReflectionClass::isAbstract ( ) : bool
public ReflectionClass::isAnonymous ( ) : bool
public ReflectionClass::isCloneable ( ) : bool
public ReflectionClass::isFinal ( ) : bool
public ReflectionClass::isInstance ( string $nesne ) : bool
public ReflectionClass::isInterface ( ) : bool
public ReflectionClass::isInternal ( ) : bool
public ReflectionClass::isIterable ( ) : bool
public ReflectionClass::isSubclassOf ( string $sınıf ) : bool
public ReflectionClass::isTrait ( ) : bool
public ReflectionClass::newInstance ( mixed $değiştirgeler , mixed $... = ? ) : object
public ReflectionClass::newInstanceArgs ( array $değiştirgeler = ? ) : object
public ReflectionClass::setStaticPropertyValue ( string $isim , string $değer ) : void
public ReflectionClass::__toString ( ) : string
}

Özellikler

name

Nesnenin sınıf ismi. Salt-okunur olup, bir yazma çabası ReflectionException istisnasına yol açar.

İçindekiler