You are here

public function Serializer::setIndent in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/Serializer.php \phpDocumentor\Reflection\DocBlock\Serializer::setIndent()

Sets the number of indents.

Parameters

int $indent The number of times the indent string is repeated.:

Return value

$this This serializer object.

1 call to Serializer::setIndent()
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 91

Class

Serializer
Serializes a DocBlock instance.

Namespace

phpDocumentor\Reflection\DocBlock

Code

public function setIndent($indent) {
  $this->indent = (int) $indent;
  return $this;
}