# maxbuttons/6.7/assets/libraries/scssphp/src/Formatter/Compact.php

MaxButtons – Create buttons, version 6.7. 45 lines.

- Page: https://pluginprobe.com/plugins/maxbuttons/6.7/code/assets/libraries/scssphp/src/Formatter/Compact.php
- Raw: https://pluginprobe.com/plugins/maxbuttons/6.7/raw/assets/libraries/scssphp/src/Formatter/Compact.php
- Modified: 2015-10-22T14:53:24+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/maxbuttons/6.7/code/assets/libraries/scssphp/src/Formatter/Compact.php#L10-L20`.

```php
<?php
/**
 * SCSSPHP
 *
 * @copyright 2012-2015 Leaf Corcoran
 *
 * @license http://opensource.org/licenses/MIT MIT
 *
 * @link http://leafo.github.io/scssphp
 */

namespace Leafo\ScssPhp\Formatter;

use Leafo\ScssPhp\Formatter;

/**
 * SCSS compact formatter
 *
 * @author Leaf Corcoran <leafot@gmail.com>
 */
class Compact extends Formatter
{
    /**
     * {@inheritdoc}
     */
    public function __construct()
    {
        $this->indentLevel = 0;
        $this->indentChar = '';
        $this->break = '';
        $this->open = ' {';
        $this->close = "}\n\n";
        $this->tagSeparator = ',';
        $this->assignSeparator = ':';
    }

    /**
     * {@inheritdoc}
     */
    public function indentStr()
    {
        return ' ';
    }
}

```
