PHP Class phpDocumentor\Reflection\DocBlock\Tag\MethodTag

Author: Mike van Riel ([email protected])
Inheritance: extends ReturnTag
Afficher le fichier Open project: explodybits/hookr-plugin Class Usage Examples

Protected Properties

Свойство Type Description
$arguments string
$method_name string

Méthodes publiques

Méthode Description
getArguments ( ) : string[] Returns an array containing each argument as array of type and name.
getContent ( )
getMethodName ( ) : string Retrieves the method name.
setArguments ( string $arguments ) : void Sets the arguments for this method.
setContent ( $content )
setMethodName ( string $method_name ) Sets the name of this method.

Method Details

getArguments() public méthode

Please note that the argument sub-array may only contain 1 element if no type was specified.
public getArguments ( ) : string[]
Résultat string[]

getContent() public méthode

public getContent ( )

getMethodName() public méthode

Retrieves the method name.
public getMethodName ( ) : string
Résultat string

setArguments() public méthode

Sets the arguments for this method.
public setArguments ( string $arguments ) : void
$arguments string A comma-separated arguments line.
Résultat void

setContent() public méthode

public setContent ( $content )

setMethodName() public méthode

Sets the name of this method.
public setMethodName ( string $method_name )
$method_name string The name of the method.

Property Details

$arguments protected_oe property

protected string $arguments
Résultat string

$method_name protected_oe property

protected string $method_name
Résultat string