| 1 |
<?php |
| 2 |
/** |
| 3 |
* SCSSPHP |
| 4 |
* |
| 5 |
* @copyright 2012-2014 Leaf Corcoran |
| 6 |
* |
| 7 |
* @license http://opensource.org/licenses/gpl-license GPL-3.0 |
| 8 |
* @license http://opensource.org/licenses/MIT MIT |
| 9 |
* |
| 10 |
* @link http://leafo.net/scssphp |
| 11 |
*/ |
| 12 |
|
| 13 |
namespace Leafo\ScssPhp\Formatter; |
| 14 |
|
| 15 |
use Leafo\ScssPhp\Formatter; |
| 16 |
|
| 17 |
/** |
| 18 |
* SCSS expanded formatter |
| 19 |
* |
| 20 |
* @author Leaf Corcoran <leafot@gmail.com> |
| 21 |
*/ |
| 22 |
class Expanded extends Formatter |
| 23 |
{ |
| 24 |
public function __construct() |
| 25 |
{ |
| 26 |
$this->indentLevel = 0; |
| 27 |
$this->indentChar = ' '; |
| 28 |
$this->break = "\n"; |
| 29 |
$this->open = ' {'; |
| 30 |
$this->close = '}'; |
| 31 |
$this->tagSeparator = ', '; |
| 32 |
$this->assignSeparator = ': '; |
| 33 |
} |
| 34 |
} |
| 35 |
|