public function Serializer::setLineLength in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Serializer.php \phpDocumentor\Reflection\DocBlock\Serializer::setLineLength()
Sets the line length.
Sets the length of each line in the serialization. Content will be wrapped within this limit.
Parameters
int|null $lineLength The length of each line. NULL to disable line: wrapping altogether.
Return value
$this This serializer object.
1 call to Serializer::setLineLength()
- Serializer::__construct in vendor/
phpdocumentor/ reflection-docblock/ src/ phpDocumentor/ Reflection/ DocBlock/ Serializer.php - Create a Serializer instance.
File
- vendor/
phpdocumentor/ reflection-docblock/ src/ phpDocumentor/ Reflection/ DocBlock/ Serializer.php, line 144
Class
- Serializer
- Serializes a DocBlock instance.
Namespace
phpDocumentor\Reflection\DocBlockCode
public function setLineLength($lineLength) {
$this->lineLength = null === $lineLength ? null : (int) $lineLength;
return $this;
}