|  | 
|  | $indentString = ' ' | 
|  | 
|  | $indent = 0 | 
|  | 
|  | $isFirstLineIndented = true | 
|  | 
|  | $lineLength | 
|  | 
|  | $tagFormatter | 
|  | 
Converts a DocBlock back from an object to a complete DocComment including Asterisks. 
◆ __construct()
      
        
          | phpDocumentor\Reflection\DocBlock\Serializer::__construct | ( | int | $indent = 0, | 
        
          |  |  | string | $indentString = ' ', | 
        
          |  |  | bool | $indentFirstLine = true, | 
        
          |  |  | ?int | $lineLength = null, | 
        
          |  |  | ?Formatter | $tagFormatter = null | 
        
          |  | ) |  |  | 
      
 
Create a Serializer instance.
- Parameters
- 
  
    | int | $indent | The number of times the indent string is repeated. |  | string | $indentString | The string to indent the comment with. |  | bool | $indentFirstLine | Whether to indent the first line. |  | int | null | $lineLength | The max length of a line or NULL to disable line wrapping. |  | Formatter | $tagFormatter | A custom tag formatter, defaults to PassthroughFormatter. |  
 
 
 
◆ getDocComment()
      
        
          | phpDocumentor\Reflection\DocBlock\Serializer::getDocComment | ( | DocBlock | $docblock | ) |  | 
      
 
Generate a DocBlock comment.
- Parameters
- 
  
  
- Returns
- string The serialized doc block. 
 
 
The documentation for this class was generated from the following file:
- vendor/phpdocumentor/reflection-docblock/src/DocBlock/Serializer.php