Methods
__construct()
__construct(array $methodTokens, \Zend\Code\NameInformation $nameInformation)
Parameters
$methodTokens
array
__toString()
__toString()
getBody()
getBody() : string
getLineEnd()
getLineEnd() : int
getLineStart()
getLineStart() : int
getName()
getName() : string
getNumberOfParameters()
getNumberOfParameters() : int
getParameters()
getParameters(bool $returnScanner) : array
Parameters
$returnScanner
bool
Returns
array
isAbstract()
isAbstract() : bool
isFinal()
isFinal() : bool
isPrivate()
isPrivate() : bool
isProtected()
isProtected() : bool
isPublic()
isPublic() : bool
isStatic()
isStatic() : bool
Override the given name for a method, this is necessary to
support traits.
setName($name) : \Zend\Code\Scanner\self
Parameters
$name
Returns
\Zend\Code\Scanner\self
Visibility must be of T_PUBLIC, T_PRIVATE or T_PROTECTED
Needed to support traits
setVisibility(\Zend\Code\Scanner\$visibility $visibility) : \Zend\Code\Scanner\self
Parameters
$visibility
\Zend\Code\Scanner\$visibility
T_PUBLIC | T_PRIVATE | T_PROTECTED
Exceptions
Returns
\Zend\Code\Scanner\self
Properties
$isAbstract
$isAbstract : bool
$isPrivate
$isPrivate : bool
$isProtected
$isProtected : bool
$isPublic
$isPublic : bool
$isScanned
$isScanned : bool
$isStatic
$isStatic : bool
$lineStart
$lineStart : int