Compact formatter.
More...
|
|
string | $assignSeparator |
| |
|
string | $break |
| |
|
string | $close |
| |
|
string | $indentChar |
| |
|
int | $indentLevel |
| |
|
bool | $keepSemicolons |
| |
|
string | $open |
| |
|
string | $tagSeparator |
| |
Compact formatter.
- Author
- Leaf Corcoran leafo.nosp@m.t@gm.nosp@m.ail.c.nosp@m.om
- Deprecated
- since 1.4.0. Use the Compressed formatter instead.
◆ __construct()
| ScssPhp\ScssPhp\Formatter\Compact::__construct |
( |
| ) |
|
◆ block()
◆ blockChildren()
| ScssPhp\ScssPhp\Formatter::blockChildren |
( |
OutputBlock | $block | ) |
|
|
protectedinherited |
◆ blockLines()
| ScssPhp\ScssPhp\Formatter::blockLines |
( |
OutputBlock | $block | ) |
|
|
protectedinherited |
◆ blockSelectors()
| ScssPhp\ScssPhp\Formatter::blockSelectors |
( |
OutputBlock | $block | ) |
|
|
protectedinherited |
◆ customProperty()
| ScssPhp\ScssPhp\Formatter::customProperty |
( |
| $name, |
|
|
| $value ) |
|
inherited |
Return custom property assignment differs in that you have to keep spaces in the value as is.
@api
- Parameters
-
- Return values
-
◆ format()
Entry point to formatting a block.
@api
- Parameters
-
- Return values
-
◆ indentStr()
| ScssPhp\ScssPhp\Formatter\Compact::indentStr |
( |
| ) |
|
◆ property()
| ScssPhp\ScssPhp\Formatter::property |
( |
| $name, |
|
|
| $value ) |
|
inherited |
Return property assignment.
@api
- Parameters
-
- Return values
-
◆ testEmptyChildren()
| ScssPhp\ScssPhp\Formatter::testEmptyChildren |
( |
| $block | ) |
|
|
protectedinherited |
Test and clean safely empty children.
- Parameters
-
- Return values
-
◆ write()
| ScssPhp\ScssPhp\Formatter::write |
( |
| $str | ) |
|
|
protectedinherited |
Output content.
- Parameters
-
- Return values
-
The documentation for this class was generated from the following file:
- lib/scssphp/src/Formatter/Compact.php