CLASS_ATTRIBUTE
CLASS_ATTRIBUTE
$formatter : \Phug\Formatter
setPattern( $name, $pattern) : \Phug\Formatter\Partial\PatternTrait
$name | ||
$pattern |
addPattern( $name, $pattern) : \Phug\Formatter\Partial\PatternTrait
$name | ||
$pattern |
__construct(\Phug\Formatter $formatter = null)
\Phug\Formatter | $formatter |
setFormatter(\Phug\Formatter $formatter) : $this
\Phug\Formatter | $formatter |
formatAttributesList(array $attributes) : \Phug\Formatter\Element\ExpressionElement
array | $attributes |
formatAttributeAsArrayItem(\Phug\Formatter\Element\AttributeElement $attribute)
\Phug\Formatter\Element\AttributeElement | $attribute |
formatKeywordElement(\Phug\Formatter\Element\KeywordElement $element) : string
\Phug\Formatter\Element\KeywordElement | $element |
formatVariableElement(\Phug\Formatter\Element\VariableElement $element)
\Phug\Formatter\Element\VariableElement | $element |
formatCodeElement(\Phug\Formatter\Element\CodeElement $code)
\Phug\Formatter\Element\CodeElement | $code |
formatCommentElement(\Phug\Formatter\Element\CommentElement $element)
\Phug\Formatter\Element\CommentElement | $element |
formatExpressionElement(\Phug\Formatter\Element\ExpressionElement $code)
\Phug\Formatter\Element\ExpressionElement | $code |
formatTextElement(\Phug\Formatter\Element\TextElement $text)
\Phug\Formatter\Element\TextElement | $text |
formatDoctypeElement(\Phug\Formatter\Element\DoctypeElement $doctype)
\Phug\Formatter\Element\DoctypeElement | $doctype |
formatMixinElement(\Phug\Formatter\Element\MixinElement $mixin)
\Phug\Formatter\Element\MixinElement | $mixin |
formatMixinCallElement(\Phug\Formatter\Element\MixinCallElement $mixinCall)
\Phug\Formatter\Element\MixinCallElement | $mixinCall |
getChildrenIterator(\Phug\Formatter\ElementInterface $element)
\Phug\Formatter\ElementInterface | $element |
formatElementChildren(\Phug\Formatter\ElementInterface $element, $indentStep = 1)
\Phug\Formatter\ElementInterface | $element | |
$indentStep |
formatDocumentElement(\Phug\Formatter\Element\DocumentElement $document)
\Phug\Formatter\Element\DocumentElement | $document |
throwException( $message, \Phug\Formatter\ElementInterface $element = null)
$message | ||
\Phug\Formatter\ElementInterface | $element |