PHP Class phpDocumentor\Reflection\DocBlock\Tag\MethodTag

Author: Mike van Riel ([email protected])
Inheritance: extends ReturnTag
ファイルを表示 Open project: explodybits/hookr-plugin Class Usage Examples

Protected Properties

Property Type Description
$arguments string
$method_name string

Public Methods

Method 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 method

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

getContent() public method

public getContent ( )

getMethodName() public method

Retrieves the method name.
public getMethodName ( ) : string
return string

setArguments() public method

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

setContent() public method

public setContent ( $content )

setMethodName() public method

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
return string

$method_name protected_oe property

protected string $method_name
return string