Lines Matching refs:indent
27 protected $indent = 0; variable in phpDocumentor\\Reflection\\DocBlock\\Serializer
41 * @param int $indent The number of times the indent string is repeated.
47 …public function __construct($indent = 0, $indentString = ' ', $indentFirstLine = true, $lineLength… argument
49 Assert::integer($indent);
55 $this->indent = $indent;
71 $indent = str_repeat($this->indentString, $this->indent);
72 $firstIndent = $this->isFirstLineIndented ? $indent : '';
74 $wrapLength = $this->lineLength ? $this->lineLength - strlen($indent) - 3 : null;
77 $indent,
79 $indent,
86 $comment .= "{$indent} * {$text}\n";
87 $comment .= "{$indent} *\n";
90 $comment = $this->addTagBlock($docblock, $wrapLength, $indent, $comment);
91 $comment .= $indent . ' */';
101 private function removeTrailingSpaces($indent, $text) argument
103 return str_replace("\n{$indent} * \n", "\n{$indent} *\n", $text);
111 private function addAsterisksForEachLine($indent, $text) argument
113 return str_replace("\n", "\n{$indent} * ", $text);
140 private function addTagBlock(DocBlock $docblock, $wrapLength, $indent, $comment) argument
148 $tagText = str_replace("\n", "\n{$indent} * ", $tagText);
150 $comment .= "{$indent} * {$tagText}\n";