CLASS_ATTRIBUTE
CLASS_ATTRIBUTE
$formatter : \Phug\Formatter
__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 |
setPattern( $name, $pattern) : \Phug\Formatter\Partial\PatternTrait
$name | ||
$pattern |
addPattern( $name, $pattern) : \Phug\Formatter\Partial\PatternTrait
$name | ||
$pattern |
__invoke(\Phug\Formatter\ElementInterface $element)
\Phug\Formatter\ElementInterface | $element |
isWhiteSpaceSensitive(\Phug\Formatter\MarkupInterface $element)
\Phug\Formatter\MarkupInterface | $element |
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 |
isSelfClosingTag(\Phug\Formatter\MarkupInterface $element, $isSelfClosing = null)
\Phug\Formatter\MarkupInterface | $element | |
$isSelfClosing |
isBlockTag(\Phug\Formatter\MarkupInterface $element)
\Phug\Formatter\MarkupInterface | $element |
hasNonStaticAttributes(\Phug\Formatter\MarkupInterface $element)
\Phug\Formatter\MarkupInterface | $element |
formatAttributeElement(\Phug\Formatter\Element\AttributeElement $element)
\Phug\Formatter\Element\AttributeElement | $element |
formatPairTagChildren(\Phug\Formatter\Element\MarkupElement $element)
\Phug\Formatter\Element\MarkupElement | $element |
formatPairTag( $open, $close, \Phug\Formatter\Element\MarkupElement $element)
$open | ||
$close | ||
\Phug\Formatter\Element\MarkupElement | $element |
yieldAssignmentElement(\Phug\Formatter\Element\AssignmentElement $element) : \Phug\Formatter\Format\iterable
\Phug\Formatter\Element\AssignmentElement | $element |
formatAssignmentElement(\Phug\Formatter\Element\AssignmentElement $element) : string
\Phug\Formatter\Element\AssignmentElement | $element |
hasDuplicateAttributeNames(\Phug\Formatter\MarkupInterface $element)
\Phug\Formatter\MarkupInterface | $element |
formatAttributes(\Phug\Formatter\Element\MarkupElement $element)
\Phug\Formatter\Element\MarkupElement | $element |
formatMarkupElement(\Phug\Formatter\Element\MarkupElement $element)
\Phug\Formatter\Element\MarkupElement | $element |