src/Filter/ScssFilter.php
public function input($filename, $input)
    {
        if (substr($filename, strlen($this->_settings['ext']) * -1) !== $this->_settings['ext']) {
            return $input;
        }
        $filename = preg_replace('/ /', '\\ ', $filename);
        $bin = $this->_settings['sass'] . ' ' . $filename;
        $return = $this->_runCmd($bin, '', array('PATH' => $this->_settings['path']));
        return $return;
    }
public function input($filename, $input)
    {
        if (substr($filename, strlen($this->_settings['ext']) * -1) !== $this->_settings['ext']) {
            return $input;
        }
        $filename = preg_replace('/ /', '\\ ', $filename);
        $bin = $this->_settings['sass'] . ' ' . $filename;
        $return = $this->_runCmd($bin, '', array('PATH' => $this->_settings['path']));
        return $return;
    }
public function input ( $ filename , $ input ) { if ( substr ( $ filename , strlen ( $ this -> _settings [ 'ext' ] ) * - 1 ) !== $ this -> _settings [ 'ext' ] ) { return $ input ; } $ filename = preg_replace ( '/ /' , '\\ ' , $ filename ) ; $ bin = $ this -> _settings [ 'sass' ] . ' ' . $ filename ; $ return = $ this -> _runCmd ( $ bin , '' , array ( 'PATH' => $ this -> _settings [ 'path' ] ) ) ; return $ return ; }
Runs SCSS compiler against any files that match the configured extension.

@param string $filename The name of the input file.
@param string $input The content of the file.
@return string
Runs SCSS compiler against any files that match the configured extension .