ReflectionClass

package php.reflection

implements Reflector

Available on php

Static variables

staticfinalread onlyIS_EXPLICIT_ABSTRACT:Int

staticfinalread onlyIS_FINAL:Int

staticfinalread onlyIS_IMPLICIT_ABSTRACT:Int

Static methods

staticexport(argument:Dynamic, returnValue:Bool = false):String

Constructor

new(argument:Dynamic)

Variables

name:String

Methods

__toString():String

getConstant(name:String):Dynamic

getConstants():NativeAssocArray<Dynamic>

getConstructor():ReflectionMethod

getDefaultProperties():NativeAssocArray<Dynamic>

getDocComment():String

getEndLine():Int

getExtensionName():String

getFileName():String

getInterfaceNames():NativeIndexedArray<String>

getInterfaces():NativeIndexedArray<ReflectionClass>

getMethod(name:String):ReflectionMethod

getMethods(?filter:Int):NativeIndexedArray<ReflectionMethod>

getModifiers():Int

getName():String

getNamespaceName():String

getParentClass():Null<ReflectionClass>

getProperties(?filter:Int):NativeIndexedArray<ReflectionProperty>

getProperty(name:String):ReflectionProperty

getShortName():String

getStartLine():Int

getStaticProperties():NativeAssocArray<Dynamic>

getStaticPropertyValue(name:String, ?def_value:Ref<Dynamic>):Dynamic

getTraitAliases():NativeAssocArray<String>

getTraitNames():NativeIndexedArray<String>

getTraits():NativeIndexedArray<ReflectionClass>

hasConstant(name:String):Bool

hasMethod(name:String):Bool

hasProperty(name:String):Bool

implementsInterface(interfaceName:String):Bool

inNamespace():Bool

isAbstract():Bool

isAnonymous():Bool

isCloneable():Bool

isFinal():Bool

isInstance(object:{}):Bool

isInstantiable():Bool

isInterface():Bool

isInternal():Bool

isIterateable():Bool

isSubclassOf(className:String):Bool

isTrait():Bool

isUserDefined():Bool

newInstance(args:Rest<Dynamic>):Dynamic

newInstanceArgs(?args:NativeIndexedArray<Dynamic>):Dynamic

newInstanceWithoutConstructor():Dynamic

setStaticPropertyValue(name:String, value:String):Void

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/php/reflection/ReflectionClass.html