mediatekformation

MethodTag
in package
implements TagInterface, PhpDocTypedTagInterface

Interfaces, Classes, Traits and Enums

TagInterface
PhpDocTypedTagInterface

Table of Contents

$description  : string
$isStatic  : bool
Is static method
$methodName  : string
$types  : array<string|int, mixed>
Return value type
__toString()  : mixed
getDescription()  : null|string
getMethodName()  : string
getName()  : string
getReturnType()  : null|string
Get return value type
getTypes()  : array<string|int, string>
Return all types supported by the tag definition
initialize()  : void
Initializer
isStatic()  : bool

Properties

$isStatic

Is static method

protected bool $isStatic = false

$types

Return value type

protected array<string|int, mixed> $types = []

Methods

__toString()

public __toString() : mixed
Return values
mixed

getDescription()

public getDescription() : null|string
Return values
null|string

getMethodName()

public getMethodName() : string
Return values
string

getName()

public getName() : string
Return values
string

getReturnType()

Get return value type

public getReturnType() : null|string
Tags
deprecated
2.0.4

use getTypes instead

Return values
null|string

getTypes()

Return all types supported by the tag definition

public getTypes() : array<string|int, string>
Return values
array<string|int, string>

initialize()

Initializer

public initialize(string $tagDocblockLine) : void
Parameters
$tagDocblockLine : string
Return values
void

isStatic()

public isStatic() : bool
Return values
bool

Search results