Source Location: /PHP_CodeSniffer-0.1.1/CodeSniffer/CommentParser/ParameterElement.php
__construct (Constructor) [line 94]
alignsWith [line 245]
Returns true if this parameter aligns with the other parameter.
Parameters:
getComment [line 169]
Returns the comment of this comment for this parameter.
getPosition [line 226]
Returns the postition of this parameter are it appears in the comment.
This method differs from getOrder as it is only relative to method parameters.
getSubElements [line 108]
getType [line 157]
Returns the variable type that this string represents.
getVarName [line 145]
Returns the variable name that this parameter tag represents.
getWhiteSpaceBeforeComment [line 211]
string getWhiteSpaceBeforeComment(
)
Returns the whitespace before the comment.
getWhiteSpaceBeforeType [line 183]
stirng getWhiteSpaceBeforeType(
)
Returns the whitespace before the variable type.
getWhiteSpaceBeforeVarName [line 197]
string getWhiteSpaceBeforeVarName(
)
Returns the whitespace before the variable name.
processSubElement [line 130]
void processSubElement(
string
$name, string
$content, string
$beforeWhitespace)
Processes the sub element with the specified name.
Overrides
PHP_CodeSniffer_CommentParser_AbstractDocElement::processSubElement() (Called to process each sub element as sepcified in the return value of getSubElements().)
Parameters:
string
$name
—
The name of the sub element to process.
string
$content
—
The content of this sub element.
string
$beforeWhitespace
—
The whitespace that exists before the sub element.