new Method(name [, arg])
Determinates a basic method definition.
Determinates a basic method definition.
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
name |
string | The name of the method. |
||
arg |
array |
<optional> |
null | The optional array of arguments of the method. |
- Implements:
- See:
Members
-
<static> args :array
-
The optional array of arguments of the method.
Type:
- array
-
<static> name :string
-
The name of the method.
Type:
- string
Methods
-
toString()
-
Returns the string representation of this instance.
Returns:
the string representation of this instance.