Skip to content

Tag Archives: PHP- ReflectionClass

The ReflectionClass__toString() function is an inbuilt function in PHP which is used to return the string representation of the specified ReflectionClass object.Syntax:   string ReflectionClass__toString( void… Read More
The Reflection::getModifiers() function is an inbuilt function in PHP which is used to return an array of the specified modifier names. Syntax: int Reflection::getModifiers( void… Read More
The ReflectionClass::isInterface() function is an inbuilt function in PHP which is used to check the specified class is an interface or not. Syntax: bool ReflectionClass::isInterface(… Read More
The ReflectionClass::getMethod() function is an inbuilt function in PHP which is used to return a ReflectionMethod for the specified class method. Syntax: ReflectionMethod ReflectionClass::getMethod (… Read More
The Reflection::getShortName() function is an inbuilt function in PHP which is used to return the short name of the specified class, the part without the… Read More
The ReflectionClass::inNamespace() function is an inbuilt function in PHP which is used to check the existence of the namespace. It returns true for the success… Read More
The Reflection::getNamespaceName() function is an inbuilt function in PHP which is used to return the name of the specified namespace. Syntax: string Reflection::getNamespaceName( void )… Read More
The ReflectionClass::isInternal() function is an inbuilt function in PHP which is used to check if class is defined internally by an extension, or the core.… Read More
The ReflectionClass::isInstantiable() function is an inbuilt function in PHP which is used to check the specified class is instantiable or not. Syntax: bool ReflectionClass::isInstantiable( void… Read More
The ReflectionClass::implementsInterface() function is an inbuilt function in PHP which is used to check the specified interface is present or not. Syntax: bool ReflectionClass::implementsInterface( string… Read More
The ReflectionClass::hasMethod() function is an inbuilt function in PHP which is used to check the specified method is present or not. Syntax: bool ReflectionClass::hasMethod( string… Read More
The ReflectionClass::isIterateable() function is an inbuilt function in PHP which is used to check if the defined class is iterateable or not. Syntax: bool ReflectionClass::isIterateable()… Read More
The ReflectionClass::isUserDefined() function is an inbuilt function in PHP which is used to check if any user-defined class is available or not.Syntax:   bool ReflectionClass::isUserDefined() Parameters:… Read More
The ReflectionClass isTrait() function is an inbuilt function in PHP that is used to check if any trait is available or not.  Syntax: bool ReflectionClass… Read More
The ReflectionClass::isSubclassOf() function is an inbuilt function in PHP which is used to check if any subclass is available or not. Syntax: bool ReflectionClass::isSubclassOf( $class… Read More