Argument
Argument
Tags
Table of Contents
- $arg : Arg
- PHP Parser argument object.
- $param_tag : Param|null
- Parameter tag.
- __construct() : mixed
- Construct hook argument.
- get_description() : string|null
- Get description.
- get_name() : string
- Get name.
- get_param_tag() : Param|null
- Get param tag.
- get_php_parser_argument() : Arg
- Get PHP Parser argument object.
- get_type() : string|null
- Get type,
- set_param_tag() : mixed
- Set param tag.
Properties
$arg
PHP Parser argument object.
private
Arg
$arg
Tags
$param_tag
Parameter tag.
private
Param|null
$param_tag
Tags
Methods
__construct()
Construct hook argument.
public
__construct(Arg $arg) : mixed
Parameters
- $arg : Arg
-
Argument.
Return values
mixed —get_description()
Get description.
public
get_description() : string|null
Tags
Return values
string|null —get_name()
Get name.
public
get_name() : string
Return values
string —get_param_tag()
Get param tag.
public
get_param_tag() : Param|null
Return values
Param|null —get_php_parser_argument()
Get PHP Parser argument object.
public
get_php_parser_argument() : Arg
Return values
Arg —get_type()
Get type,
public
get_type() : string|null
Tags
Return values
string|null —set_param_tag()
Set param tag.
public
set_param_tag([Param|null $param_tag = null ]) : mixed
Parameters
- $param_tag : Param|null = null
-
Param tag.