Skip to content

PHP Reflection

Kirill Nesmeyanov edited this page Apr 24, 2015 · 1 revision

PHP 5.6: Reflection extension

Functions

Function name JPHP Extension

Class Reflection

Extension: Core (0.6-SNAPSHOT)

Method name JPHP 0.6
getModifierNames +
export +

Class ReflectionClass

Extension: Core (0.6-SNAPSHOT)

Method name JPHP 0.6
__clone +
export +
__construct +
__toString +
getName +
isInternal +
isUserDefined +
isInstantiable +
isCloneable +
getFileName +
getStartLine +
getEndLine +
getDocComment +
getConstructor +
hasMethod +
getMethod +
getMethods +
hasProperty +
getProperty +
getProperties +
hasConstant +
getConstants +
getConstant +
getInterfaces +
getInterfaceNames +
isInterface +
getTraits +
getTraitNames +
getTraitAliases -
isTrait -
isAbstract +
isFinal +
getModifiers +
isInstance +
newInstance +
newInstanceWithoutConstructor +
newInstanceArgs +
getParentClass +
isSubclassOf +
getStaticProperties +
getStaticPropertyValue +
setStaticPropertyValue -
getDefaultProperties +
isIterateable -
implementsInterface +
getExtension +
getExtensionName +
inNamespace -
getNamespaceName +
getShortName +

Class ReflectionException

Extension: Core (0.6-SNAPSHOT)

Method name JPHP 0.6
__clone -
__construct +
getMessage +
getCode +
getFile +
getLine +
getTrace +
getPrevious -
getTraceAsString +
__toString +

Class ReflectionExtension

Extension: Core (0.6-SNAPSHOT)

Method name JPHP 0.6
__clone +
export +
__construct +
__toString +
getName +
getVersion +
getFunctions -
getConstants +
getINIEntries +
getClasses -
getClassNames +
getDependencies +
info +
isPersistent +
isTemporary +

Class ReflectionFunction

Extension: Core (0.6-SNAPSHOT)

Method name JPHP 0.6
__construct +
__toString +
export +
isDisabled +
invoke +
invokeArgs +
getClosure +
__clone +
inNamespace +
isClosure +
isDeprecated +
isInternal +
isUserDefined +
isGenerator -
isVariadic -
getClosureThis +
getClosureScopeClass +
getDocComment +
getEndLine +
getExtension +
getExtensionName +
getFileName +
getName +
getNamespaceName +
getNumberOfParameters +
getNumberOfRequiredParameters +
getParameters +
getShortName +
getStartLine +
getStaticVariables +
returnsReference +

Class ReflectionFunctionAbstract

Extension: Core (0.6-SNAPSHOT)

Method name JPHP 0.6
__clone +
__toString +
inNamespace +
isClosure +
isDeprecated +
isInternal +
isUserDefined +
isGenerator -
isVariadic -
getClosureThis +
getClosureScopeClass +
getDocComment +
getEndLine +
getExtension +
getExtensionName +
getFileName +
getName +
getNamespaceName +
getNumberOfParameters +
getNumberOfRequiredParameters +
getParameters +
getShortName +
getStartLine +
getStaticVariables +
returnsReference +

Class ReflectionMethod

Extension: Core (0.6-SNAPSHOT)

Method name JPHP 0.6
export +
__construct +
__toString +
isPublic +
isPrivate +
isProtected +
isAbstract +
isFinal +
isStatic +
isConstructor +
isDestructor -
getClosure +
getModifiers +
invoke -
invokeArgs -
getDeclaringClass +
getPrototype +
setAccessible +
__clone +
inNamespace +
isClosure +
isDeprecated +
isInternal +
isUserDefined +
isGenerator -
isVariadic -
getClosureThis +
getClosureScopeClass +
getDocComment +
getEndLine +
getExtension +
getExtensionName +
getFileName +
getName +
getNamespaceName +
getNumberOfParameters +
getNumberOfRequiredParameters +
getParameters +
getShortName +
getStartLine +
getStaticVariables +
returnsReference +

Class ReflectionObject

Extension: Core (0.6-SNAPSHOT)

Method name JPHP 0.6
export +
__construct +
__clone +
__toString +
getName +
isInternal +
isUserDefined +
isInstantiable +
isCloneable +
getFileName +
getStartLine +
getEndLine +
getDocComment +
getConstructor +
hasMethod +
getMethod +
getMethods +
hasProperty +
getProperty +
getProperties +
hasConstant +
getConstants +
getConstant +
getInterfaces +
getInterfaceNames +
isInterface +
getTraits +
getTraitNames +
getTraitAliases -
isTrait -
isAbstract +
isFinal +
getModifiers +
isInstance +
newInstance +
newInstanceWithoutConstructor +
newInstanceArgs +
getParentClass +
isSubclassOf +
getStaticProperties +
getStaticPropertyValue +
setStaticPropertyValue -
getDefaultProperties +
isIterateable -
implementsInterface +
getExtension +
getExtensionName +
inNamespace -
getNamespaceName +
getShortName +

Class ReflectionParameter

Extension: Core (0.6-SNAPSHOT)

Method name JPHP 0.6
__clone +
export +
__construct +
__toString +
getName +
isPassedByReference +
canBePassedByValue +
getDeclaringFunction +
getDeclaringClass +
getClass +
isArray +
isCallable +
allowsNull +
getPosition +
isOptional +
isDefaultValueAvailable +
getDefaultValue +
isDefaultValueConstant +
getDefaultValueConstantName +
isVariadic -

Class ReflectionProperty

Extension: Core (0.6-SNAPSHOT)

Method name JPHP 0.6
__clone +
export +
__construct +
__toString +
getName +
getValue +
setValue +
isPublic +
isPrivate +
isProtected +
isStatic +
isDefault +
getModifiers +
getDeclaringClass +
getDocComment +
setAccessible +

Class ReflectionZendExtension

Unavailable

Clone this wiki locally