deaggregate
简介
与变量和类型有关的扩展
PHP Manual
Reflection
简介
安装/配置
需求
安装
运行时配置
资源类型
预定义常量
范例
Extending
Reflection
— The Reflection class
Reflection::export
— Exports
Reflection::getModifierNames
— Gets modifier names
ReflectionClass
— The ReflectionClass class
ReflectionClass::__clone
— Clones object
ReflectionClass::__construct
— Constructs a ReflectionClass
ReflectionClass::export
— Exports a class
ReflectionClass::getConstant
— Gets defined constants
ReflectionClass::getConstants
— Gets constants
ReflectionClass::getConstructor
— Gets constructor
ReflectionClass::getDefaultProperties
— Gets default properties
ReflectionClass::getDocComment
— Gets doc comments
ReflectionClass::getEndLine
— Gets end line
ReflectionClass::getExtension
— Gets extension info
ReflectionClass::getExtensionName
— Gets an extensions name
ReflectionClass::getFileName
— Gets the filename of the file in which the class has been defined
ReflectionClass::getInterfaceNames
— Gets the interface names
ReflectionClass::getInterfaces
— Gets the interfaces
ReflectionClass::getMethod
— Gets a ReflectionMethod
ReflectionClass::getMethods
— Gets a list of methods
ReflectionClass::getModifiers
— Gets modifiers
ReflectionClass::getName
— Gets class name
ReflectionClass::getNamespaceName
— Gets namespace name
ReflectionClass::getParentClass
— Gets parent class
ReflectionClass::getProperties
— Gets properties
ReflectionClass::getProperty
— Gets property
ReflectionClass::getShortName
— Gets short name
ReflectionClass::getStartLine
— Gets starting line number
ReflectionClass::getStaticProperties
— Gets static properties
ReflectionClass::getStaticPropertyValue
— Gets static property value
ReflectionClass::hasConstant
— Checks if constant is defined
ReflectionClass::hasMethod
— Checks if method is defined
ReflectionClass::hasProperty
— Checks if property is defined
ReflectionClass::implementsInterface
— Implements interface
ReflectionClass::inNamespace
— Checks if in namespace
ReflectionClass::isAbstract
— Checks if class is abstract
ReflectionClass::isFinal
— Checks if class is final
ReflectionClass::isInstance
— Checks class for instance
ReflectionClass::isInstantiable
— Checks if instantiable
ReflectionClass::isInterface
— Checks if interface
ReflectionClass::isInternal
— Checks if internal
ReflectionClass::isIterateable
— Checks if iterateable
ReflectionClass::isSubclassOf
— Checks if a subclass
ReflectionClass::isUserDefined
— Checks if user defined
ReflectionClass::newInstance
— Creates a new cass instance from given arguments.
ReflectionClass::newInstanceArgs
— Creates a new cass instance from given arguments.
ReflectionClass::setStaticPropertyValue
— Sets static property value
ReflectionClass::__toString
— Returns the string representation of the ReflectionClass object.
ReflectionExtension
— The ReflectionExtension class
ReflectionExtension::__clone
— Clones
ReflectionExtension::__construct
— Constructs a ReflectionExtension
ReflectionExtension::export
— Export
ReflectionExtension::getClasses
— Gets classes
ReflectionExtension::getClassNames
— Gets class names
ReflectionExtension::getConstants
— Gets constants
ReflectionExtension::getDependencies
— Gets dependencies
ReflectionExtension::getFunctions
— Gets extension functions
ReflectionExtension::getINIEntries
— Gets extension ini entries
ReflectionExtension::getName
— Gets extension name
ReflectionExtension::getVersion
— Gets extension version
ReflectionExtension::info
— Gets extension info
ReflectionExtension::__toString
— To string
ReflectionFunction
— The ReflectionFunction class
ReflectionFunction::__construct
— Constructs a ReflectionFunction object
ReflectionFunction::export
— Exports function
ReflectionFunction::invoke
— Invokes function
ReflectionFunction::invokeArgs
— Invokes function args
ReflectionFunction::isDisabled
— Checks if function is disabled
ReflectionFunction::__toString
— To string
ReflectionFunctionAbstract
— The ReflectionFunctionAbstract class
ReflectionFunctionAbstract::__clone
— Clones function
ReflectionFunctionAbstract::getDocComment
— Gets doc comment
ReflectionFunctionAbstract::getEndLine
— Gets end line number
ReflectionFunctionAbstract::getExtension
— Gets extension info
ReflectionFunctionAbstract::getExtensionName
— Gets extension name
ReflectionFunctionAbstract::getFileName
— Gets file name
ReflectionFunctionAbstract::getName
— Gets function name
ReflectionFunctionAbstract::getNamespaceName
— Gets namespace name
ReflectionFunctionAbstract::getNumberOfParameters
— Gets number of parameters
ReflectionFunctionAbstract::getNumberOfRequiredParameters
— Gets number of required parameters
ReflectionFunctionAbstract::getParameters
— Gets parameters
ReflectionFunctionAbstract::getShortName
— Gets function short name
ReflectionFunctionAbstract::getStartLine
— Gets starting line number
ReflectionFunctionAbstract::getStaticVariables
— Gets static variables
ReflectionFunctionAbstract::inNamespace
— Checks if function in namespace
ReflectionFunctionAbstract::isClosure
— Checks if closure
ReflectionFunctionAbstract::isDeprecated
— Checks if deprecated
ReflectionFunctionAbstract::isInternal
— Checks if is internal
ReflectionFunctionAbstract::isUserDefined
— Checks if user defined
ReflectionFunctionAbstract::returnsReference
— Checks if returns reference
ReflectionFunctionAbstract::__toString
— To string
ReflectionMethod
— The ReflectionMethod class
ReflectionMethod::__construct
— Constructs a ReflectionMethod
ReflectionMethod::export
— Export a reflection method.
ReflectionMethod::getDeclaringClass
— Gets declaring class for the reflected method.
ReflectionMethod::getModifiers
— Gets the method modifiers
ReflectionMethod::getPrototype
— Gets the method prototype (if there is one).
ReflectionMethod::invoke
— Invoke
ReflectionMethod::invokeArgs
— Invoke args
ReflectionMethod::isAbstract
— Checks if method is abstract
ReflectionMethod::isConstructor
— Checks if method is a constructor
ReflectionMethod::isDestructor
— Checks if method is a destructor
ReflectionMethod::isFinal
— Checks if method is final
ReflectionMethod::isPrivate
— Checks if method is private
ReflectionMethod::isProtected
— Checks if method is protected
ReflectionMethod::isPublic
— Checks if method is public
ReflectionMethod::isStatic
— Checks if method is static
ReflectionMethod::setAccessible
— Set method accessibility
ReflectionMethod::__toString
— Returns the string representation of the Reflection method object.
ReflectionObject
— The ReflectionObject class
ReflectionObject::__construct
— Constructs a ReflectionObject
ReflectionObject::export
— Export
ReflectionParameter
— The ReflectionParameter class
ReflectionParameter::allowsNull
— Checks if null is allowed
ReflectionParameter::__clone
— Clone
ReflectionParameter::__construct
— Construct
ReflectionParameter::export
— Exports
ReflectionParameter::getClass
— Get class
ReflectionParameter::getDeclaringClass
— Gets declaring class
ReflectionParameter::getDeclaringFunction
— Gets declaring function
ReflectionParameter::getDefaultValue
— Gets default parameter value
ReflectionParameter::getName
— Gets parameter name
ReflectionParameter::getPosition
— Gets parameter position
ReflectionParameter::isArray
— Checks if parameter expects an array
ReflectionParameter::isDefaultValueAvailable
— Checks if a default value is available
ReflectionParameter::isOptional
— Checks if optional
ReflectionParameter::isPassedByReference
— Checks if passed by reference
ReflectionParameter::__toString
— To string
ReflectionProperty
— The ReflectionProperty class
ReflectionProperty::__clone
— Clone
ReflectionProperty::__construct
— Construct a ReflectionProperty object
ReflectionProperty::export
— Export
ReflectionProperty::getDeclaringClass
— Gets declaring class
ReflectionProperty::getDocComment
— Gets doc comment
ReflectionProperty::getModifiers
— Gets modifiers
ReflectionProperty::getName
— Gets property name
ReflectionProperty::getValue
— Gets value
ReflectionProperty::isDefault
— Checks if default value
ReflectionProperty::isPrivate
— Checks if property is private
ReflectionProperty::isProtected
— Checks if property is protected
ReflectionProperty::isPublic
— Checks if property is public
ReflectionProperty::isStatic
— Checks if property is static
ReflectionProperty::setAccessible
— Set property accessibility
ReflectionProperty::setValue
— Set property value
ReflectionProperty::__toString
— To string
Reflector
— The Reflector interface
Reflector::export
— Exports
Reflector::__toString
— To string
deaggregate
简介
与变量和类型有关的扩展
PHP Manual