Source of file Compact.php
Size: 0,789 Bytes - Last Modified: 2017-07-17T16:46:02+00:00
/home/travis/build/Limych/GeniBase/src/gb/scssphp/src/Formatter/Compact.php
12345678910111213141516171819202122232425262728293031323334353637383940414243444546 | <?php /** * SCSSPHP * * @copyright 2012-2017 Leaf Corcoran * * @license http://opensource.org/licenses/MIT MIT * * @link http://leafo.github.io/scssphp */ namespace Leafo\ScssPhp\Formatter; use Leafo\ScssPhp\Formatter; /** * 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 = ':'; $this->keepSemicolons = true; } /** * {@inheritdoc} */ public function indentStr() { return ' '; } } |