‪TYPO3CMS  ‪main
TYPO3\CMS\RteCKEditor\Service\ScssProcessor Class Reference

Public Member Functions

 __construct (protected readonly Compiler $scssCompiler)
 compileToCss (string $scssSource)
 prefixCssForScss (string $cssPrefix, string $cssSource)

Detailed Description

Used only for RTE CKEditor to prepare SCSS for parsing. Never use this class in your own code.

This API is used internally only.

Definition at line 28 of file ScssProcessor.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\RteCKEditor\Service\ScssProcessor::__construct ( protected readonly Compiler  $scssCompiler)

Definition at line 30 of file ScssProcessor.php.

Member Function Documentation

◆ compileToCss()

TYPO3\CMS\RteCKEditor\Service\ScssProcessor::compileToCss ( string  $scssSource)

Compiles SCSS to CSS.

Definition at line 38 of file ScssProcessor.php.

◆ prefixCssForScss()

TYPO3\CMS\RteCKEditor\Service\ScssProcessor::prefixCssForScss ( string  $cssPrefix,
string  $cssSource 

Prefixes CSS source content for later SCSS processing.

Definition at line 46 of file ScssProcessor.php.