PHP8.x Reflection
PHP 8 系 のReflectionに関する言語リファレンス情報をまとめたカテゴリです。
ReflectionFunctionクラス
constant
property
method
__construct
__toString
getAttributes
getClosure
getClosureCalledClass
getClosureScopeClass
getClosureThis
getClosureUsedVariables
getDocComment
getEndLine
getExtension
getExtensionName
getFileName
getName
getNamespaceName
getNumberOfParameters
getNumberOfRequiredParameters
getParameters
getReturnType
getShortName
getStartLine
getStaticVariables
getTentativeReturnType
hasReturnType
hasTentativeReturnType
inNamespace
invoke
invokeArgs
isAnonymous
isClosure
isDeprecated
isDisabled
isGenerator
isInternal
isStatic
isUserDefined
isVariadic
returnsReference
ReflectionGeneratorクラス
ReflectionFunctionAbstractクラス
property
method
__clone
__toString
getAttributes
getClosureCalledClass
getClosureScopeClass
getClosureThis
getClosureUsedVariables
getDocComment
getEndLine
getExtension
getExtensionName
getFileName
getName
getNamespaceName
getNumberOfParameters
getNumberOfRequiredParameters
getParameters
getReturnType
getShortName
getStartLine
getStaticVariables
getTentativeReturnType
hasReturnType
hasTentativeReturnType
inNamespace
isClosure
isDeprecated
isGenerator
isInternal
isStatic
isUserDefined
isVariadic
returnsReference
ReflectionMethodクラス
method
__construct
__toString
createFromMethodName
getAttributes
getClosure
getClosureCalledClass
getClosureScopeClass
getClosureThis
getClosureUsedVariables
getDeclaringClass
getDocComment
getEndLine
getExtension
getExtensionName
getFileName
getModifiers
getName
getNamespaceName
getNumberOfParameters
getNumberOfRequiredParameters
getParameters
getPrototype
getReturnType
getShortName
getStartLine
getStaticVariables
getTentativeReturnType
hasPrototype
hasReturnType
hasTentativeReturnType
inNamespace
invoke
invokeArgs
isAbstract
isClosure
isConstructor
isDeprecated
isDestructor
isFinal
isGenerator
isInternal
isPrivate
isProtected
isPublic
isStatic
isUserDefined
isVariadic
returnsReference
setAccessible
ReflectionClassクラス
constant
property
method
__clone
__construct
__toString
getAttributes
getConstant
getConstants
getConstructor
getDefaultProperties
getDocComment
getEndLine
getExtension
getExtensionName
getFileName
getInterfaceNames
getInterfaces
getLazyInitializer
getMethod
getMethods
getModifiers
getName
getNamespaceName
getParentClass
getProperties
getProperty
getReflectionConstant
getReflectionConstants
getShortName
getStartLine
getStaticProperties
getStaticPropertyValue
getTraitAliases
getTraitNames
getTraits
hasConstant
hasMethod
hasProperty
implementsInterface
initializeLazyObject
inNamespace
isAbstract
isAnonymous
isCloneable
isEnum
isFinal
isInstance
isInstantiable
isInterface
isInternal
isIterable
isIterateable
isReadOnly
isSubclassOf
isTrait
isUninitializedLazyObject
isUserDefined
markLazyObjectAsInitialized
newInstance
newInstanceArgs
newInstanceWithoutConstructor
newLazyGhost
newLazyProxy
resetAsLazyGhost
resetAsLazyProxy
setStaticPropertyValue
ReflectionObjectクラス
constant
property
method
__construct
__toString
getAttributes
getConstant
getConstants
getConstructor
getDefaultProperties
getDocComment
getEndLine
getExtension
getExtensionName
getFileName
getInterfaceNames
getInterfaces
getLazyInitializer
getMethod
getMethods
getModifiers
getName
getNamespaceName
getParentClass
getProperties
getProperty
getReflectionConstant
getReflectionConstants
getShortName
getStartLine
getStaticProperties
getStaticPropertyValue
getTraitAliases
getTraitNames
getTraits
hasConstant
hasMethod
hasProperty
implementsInterface
initializeLazyObject
inNamespace
isAbstract
isAnonymous
isCloneable
isEnum
isFinal
isInstance
isInstantiable
isInterface
isInternal
isIterable
isIterateable
isReadOnly
isSubclassOf
isTrait
isUninitializedLazyObject
isUserDefined
markLazyObjectAsInitialized
newInstance
newInstanceArgs
newInstanceWithoutConstructor
newLazyGhost
newLazyProxy
resetAsLazyGhost
resetAsLazyProxy
setStaticPropertyValue
ReflectionParameterクラス
property
method
ReflectionPropertyクラス
constant
method
__clone
__construct
__toString
getAttributes
getDeclaringClass
getDefaultValue
getDocComment
getHook
getHooks
getModifiers
getName
getRawValue
getSettableType
getType
getValue
hasDefaultValue
hasHook
hasHooks
hasType
isAbstract
isDefault
isDynamic
isFinal
isInitialized
isLazy
isPrivate
isPrivateSet
isPromoted
isProtected
isProtectedSet
isPublic
isReadOnly
isStatic
isVirtual
setAccessible
setRawValue
setRawValueWithoutLazyInitialization
setValue
skipLazyInitialization
ReflectionEnumクラス
constant
property
method
__construct
__toString
getAttributes
getBackingType
getCase
getCases
getConstant
getConstants
getConstructor
getDefaultProperties
getDocComment
getEndLine
getExtension
getExtensionName
getFileName
getInterfaceNames
getInterfaces
getLazyInitializer
getMethod
getMethods
getModifiers
getName
getNamespaceName
getParentClass
getProperties
getProperty
getReflectionConstant
getReflectionConstants
getShortName
getStartLine
getStaticProperties
getStaticPropertyValue
getTraitAliases
getTraitNames
getTraits
hasCase
hasConstant
hasMethod
hasProperty
implementsInterface
initializeLazyObject
inNamespace
isAbstract
isAnonymous
isBacked
isCloneable
isEnum
isFinal
isInstance
isInstantiable
isInterface
isInternal
isIterable
isIterateable
isReadOnly
isSubclassOf
isTrait
isUninitializedLazyObject
isUserDefined
markLazyObjectAsInitialized
newInstance
newInstanceArgs
newInstanceWithoutConstructor
newLazyGhost
newLazyProxy
resetAsLazyGhost
resetAsLazyProxy
setStaticPropertyValue