mediatekformation

MethodScanner
in package
implements ScannerInterface

Interfaces, Classes, Traits and Enums

ScannerInterface

Table of Contents

$body  : string
$class  : string
$docComment  : string
$infos  : array<string|int, mixed>
$isAbstract  : bool
$isFinal  : bool
$isPrivate  : bool
$isProtected  : bool
$isPublic  : bool
$isScanned  : bool
$isStatic  : bool
$lineEnd  : int
$lineStart  : int
$name  : string
$nameInformation  : NameInformation
$scannerClass  : ClassScanner
$tokens  : array<string|int, mixed>
__construct()  : mixed
__toString()  : mixed
export()  : mixed
getAnnotations()  : AnnotationScanner|false
getBody()  : string
getClassScanner()  : ClassScanner
getDocComment()  : string
getLineEnd()  : int
getLineStart()  : int
getName()  : string
getNumberOfParameters()  : int
getParameter()  : ParameterScanner
getParameters()  : array<string|int, mixed>
isAbstract()  : bool
isFinal()  : bool
isPrivate()  : bool
isProtected()  : bool
isPublic()  : bool
isStatic()  : bool
setClass()  : MethodScanner
setName()  : self
Override the given name for a method, this is necessary to support traits.
setScannerClass()  : MethodScanner
setVisibility()  : self
Visibility must be of T_PUBLIC, T_PRIVATE or T_PROTECTED Needed to support traits
scan()  : mixed

Properties

Methods

__construct()

public __construct(array<string|int, mixed> $methodTokens[, NameInformation $nameInformation = null ]) : mixed
Parameters
$methodTokens : array<string|int, mixed>
$nameInformation : NameInformation = null
Return values
mixed

__toString()

public __toString() : mixed
Return values
mixed

export()

public static export() : mixed
Return values
mixed

getBody()

public getBody() : string
Return values
string

getDocComment()

public getDocComment() : string
Return values
string

getLineEnd()

public getLineEnd() : int
Return values
int

getLineStart()

public getLineStart() : int
Return values
int

getName()

public getName() : string
Return values
string

getNumberOfParameters()

public getNumberOfParameters() : int
Return values
int

getParameters()

public getParameters([bool $returnScanner = false ]) : array<string|int, mixed>
Parameters
$returnScanner : bool = false
Return values
array<string|int, mixed>

isAbstract()

public isAbstract() : bool
Return values
bool

isPrivate()

public isPrivate() : bool
Return values
bool

isProtected()

public isProtected() : bool
Return values
bool

setName()

Override the given name for a method, this is necessary to support traits.

public setName(string $name) : self
Parameters
$name : string
Return values
self

setVisibility()

Visibility must be of T_PUBLIC, T_PRIVATE or T_PROTECTED Needed to support traits

public setVisibility(int $visibility) : self
Parameters
$visibility : int

T_PUBLIC | T_PRIVATE | T_PROTECTED

Tags
throws
InvalidArgumentException
Return values
self

Search results