Вход Регистрация
Файл: contao-3.5.8/vendor/leafo/scssphp/src/Formatter/Compact.php
Строк: 27
<?php
/**
 * SCSSPHP
 *
 * @copyright 2012-2015 Leaf Corcoran
 *
 * @license http://opensource.org/licenses/MIT MIT
 *
 * @link http://leafo.github.io/scssphp
 */

namespace LeafoScssPhpFormatter;

use 
LeafoScssPhpFormatter;

/**
 * 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 "}nn";
        
$this->tagSeparator ',';
        
$this->assignSeparator ':';
    }

    
/**
     * {@inheritdoc}
     */
    
public function indentStr()
    {
        return 
' ';
    }
}
Онлайн: 0
Реклама