Method |
Description |
|
__clone ( ) |
|
|
addMethod ( $methodName ) |
|
|
addProperty ( $methodName, $visibility = 'public', $static = false ) |
|
|
createFromInstance ( object $object ) : ReflectionClass |
Pass an instance of an object to this method to reflect it |
|
createFromName ( $className ) |
Cannot instantiate this way, use ReflectionObject::createFromInstance |
|
createFromNode ( BetterReflection\Reflector\Reflector $reflector, ClassLike $node, BetterReflection\SourceLocator\Located\LocatedSource $locatedSource, Namespace_ $namespace = null ) |
Cannot instantiate this way, use ReflectionObject::createFromInstance |
|
export ( object $instance = null ) : string |
Create a reflection and return the string representation of a class instance |
|
getAst ( ) |
|
|
getConstant ( $name ) |
|
|
getConstants ( ) |
|
|
getConstructor ( ) |
|
|
getDefaultProperties ( ) |
|
|
getDocComment ( ) |
|
|
getEndLine ( ) |
|
|
getFileName ( ) |
|
|
getImmediateInterfaces ( ) |
|
|
getImmediateMethods ( ) |
|
|
getInterfaceNames ( ) |
|
|
getInterfaces ( ) |
|
|
getLocatedSource ( ) |
|
|
getMethod ( $methodName ) |
|
|
getMethods ( ) |
|
|
getModifiers ( ) |
|
|
getName ( ) |
|
|
getNamespaceName ( ) |
|
|
getParentClass ( ) |
|
|
getProperties ( ) |
|
|
getProperty ( $name ) |
|
|
getShortName ( ) |
|
|
getStartLine ( ) |
|
|
getStaticPropertyValue ( $propertyName ) |
|
|
getTraitAliases ( ) |
|
|
getTraitNames ( ) |
|
|
getTraits ( ) |
|
|
hasConstant ( $name ) |
|
|
hasMethod ( $methodName ) |
|
|
hasProperty ( $name ) |
|
|
implementsInterface ( $interfaceName ) |
|
|
inNamespace ( ) |
|
|
isAbstract ( ) |
|
|
isCloneable ( ) |
|
|
isFinal ( ) |
|
|
isInstance ( $object ) |
|
|
isInstantiable ( ) |
|
|
isInterface ( ) |
|
|
isInternal ( ) |
|
|
isIterateable ( ) |
|
|
isSubclassOf ( $className ) |
|
|
isTrait ( ) |
|
|
isUserDefined ( ) |
|
|
removeMethod ( $methodName ) |
|
|
removeProperty ( $methodName ) |
|
|
setFinal ( $isFinal ) |
|
|
setStaticPropertyValue ( $propertyName, $value ) |
|
|