Converts a DocBlock back from an object to a complete DocComment including Asterisks.
CloneableInstantiable
Methods |
public __construct(int $indent = 0, string $indentString = ' ', bool $indentFirstLine = true, ?int $lineLength = NULL, ?phpDocumentor Create a Serializer instance.
|
public getDocComment(phpDocumentor Generate a DocBlock comment.
|
Properties |
protected int $indent = 0
|
protected string $indentString = ' '
|
protected bool $isFirstLineIndented = true
|
protected ?int $lineLength = NULL
|
protected phpDocumentor
|
Properties |
private string $lineEnding |
Methods |
private addAsterisksForEachLine(string $indent, string $text) : string |
private addTagBlock(phpDocumentor |
private getSummaryAndDescriptionTextBlock(phpDocumentor |
private removeTrailingSpaces(string $indent, string $text) : string |