ReflectionFunctionAbstract (class)
The ReflectionFunctionAbstract class
Introduction
(PHP 5 >= 5.2.0, PHP 7)
A parent class to ReflectionFunction, read its description for details.
Class synopsis
ReflectionFunctionAbstract
implements Reflector {
/* Properties */
public $name ;
/* Methods */
final private void __clone ( void )
public ReflectionClass getClosureScopeClass ( void )
public object getClosureThis ( void )
public string getDocComment ( void )
public int getEndLine ( void )
public ReflectionExtension getExtension ( void )
public string getExtensionName ( void )
public string getFileName ( void )
public string getName ( void )
public string getNamespaceName ( void )
public int getNumberOfParameters ( void )
public int getNumberOfRequiredParameters ( void )
public array getParameters ( void )
public ReflectionType getReturnType ( void )
public string getShortName ( void )
public int getStartLine ( void )
public array getStaticVariables ( void )
public bool hasReturnType ( void )
public bool inNamespace ( void )
public bool isClosure ( void )
public bool isDeprecated ( void )
public bool isGenerator ( void )
public bool isInternal ( void )
public bool isUserDefined ( void )
public bool isVariadic ( void )
public bool returnsReference ( void )
abstract public void __toString ( void )
}
Properties
name
Name of the function. Read-only, throws ReflectionException in attempt to write.
Table of Contents
- ReflectionFunctionAbstract::__clone — Clones function
- ReflectionFunctionAbstract::getClosureScopeClass — Returns the scope associated to the closure
- ReflectionFunctionAbstract::getClosureThis — Returns this pointer bound to closure
- 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::getReturnType — Gets the specified return type of a function
- ReflectionFunctionAbstract::getShortName — Gets function short name
- ReflectionFunctionAbstract::getStartLine — Gets starting line number
- ReflectionFunctionAbstract::getStaticVariables — Gets static variables
- ReflectionFunctionAbstract::hasReturnType — Checks if the function has a specified return type
- ReflectionFunctionAbstract::inNamespace — Checks if function in namespace
- ReflectionFunctionAbstract::isClosure — Checks if closure
- ReflectionFunctionAbstract::isDeprecated — Checks if deprecated
- ReflectionFunctionAbstract::isGenerator — Returns whether this function is a generator
- ReflectionFunctionAbstract::isInternal — Checks if is internal
- ReflectionFunctionAbstract::isUserDefined — Checks if user defined
- ReflectionFunctionAbstract::isVariadic — Checks if the function is variadic
- ReflectionFunctionAbstract::returnsReference — Checks if returns reference
- ReflectionFunctionAbstract::__toString — To string
← ReflectionFunction::__toString
ReflectionFunctionAbstract::__clone →
© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://secure.php.net/manual/en/class.reflectionfunctionabstract.php