private static function compileSassContentWithSassPhp(string $content, array $directories)
    {
        if (empty($content)) {
            return '';
        }
        
        if (self::$sassCompilerInstance == null) {
            self::$sassCompilerInstance = self::getSassPhpInstance();
        }
        self::updateSassPhpInstance(self::$sassCompilerInstance, $directories);
        
        return self::$sassCompilerInstance->compile($content);
    }
private static function compileSassContentWithSassPhp(string $content, array $directories)
    {
        if (empty($content)) {
            return '';
        }
        
        if (self::$sassCompilerInstance == null) {
            self::$sassCompilerInstance = self::getSassPhpInstance();
        }
        self::updateSassPhpInstance(self::$sassCompilerInstance, $directories);
        
        return self::$sassCompilerInstance->compile($content);
    }
private static function compileSassContentWithSassPhp ( string $ content , array $ directories ) { if ( empty ( $ content ) ) { return '' ; } if ( self :: $ sassCompilerInstance == null ) { self :: $ sassCompilerInstance = self :: getSassPhpInstance ( ) ; } self :: updateSassPhpInstance ( self :: $ sassCompilerInstance , $ directories ) ; return self :: $ sassCompilerInstance -> compile ( $ content ) ; }
Compile Sass content using SassPhp compiler.

@link https://github.com/absalomedia/sassphp

@param string $content
Content to compile.

@param array $directories
The import directories to make available when compiling.

@return string Compiled Sass content.
Compile Sass content using SassPhp compiler .