PHP Class Google\Cloud\Dev\DocBlockStripSpaces

Inheritance: extends phpDocumentor\Reflection\DocBlock
Datei anzeigen Open project: GoogleCloudPlatform/gcloud-php Class Usage Examples

Public Methods

Method Description
cleanInput ( string $comment, integer $spaces = 4 ) : string Strips extra whitespace from the DocBlock comment.

Method Details

cleanInput() public method

Strips extra whitespace from the DocBlock comment.
public cleanInput ( string $comment, integer $spaces = 4 ) : string
$comment string String containing the comment text.
$spaces integer The number of spaces to strip.
return string