PHP_CodeSniffer_CommentParser_AbstractDocElement | --PHP_CodeSniffer_CommentParser_SingleElement
A single element doc tag contains only one value after the tag itself. An example would be the \@package tag.
[line 45]
The content that exists after the tag.[line 53]
The whitespace that exists before the content.PHP_CodeSniffer_CommentParser_SingleElement __construct(
PHP_CodeSniffer_CommentParser_DocElement
$previousElement, array
$tokens, string
$tag, PHP_CodeSniffer_File
$phpcsFile)
Overridden in child classes as:
array(string) getSubElements(
)
string getWhitespaceBeforeContent(
)
void process(
PHP_CodeSniffer_File
$phpcsFile, int
$commentStart, string
$docBlock)
void processSubElement(
string
$name, string
$content, string
$whitespaceBefore)