Compile CSS with CSSCrush.  
 More...
Compile CSS with CSSCrush. 
Definition at line 16 of file CssCompiler.php.
◆ __construct()
      
        
          | Elgg\Assets\CssCompiler::__construct | ( | protected Config | $config, | 
        
          |  |  | protected EventsService | $events | 
        
          |  | ) |  |  | 
      
 
 
◆ compile()
      
        
          | Elgg\Assets\CssCompiler::compile | ( |  | $css, | 
        
          |  |  | array | $options = [] | 
        
          |  | ) |  |  | 
      
 
Compile CSS. 
- Parameters
- 
  
    | string | $css | CSS string |  | array | $options | CssCrush options |  
 
- Returns
- string 
Definition at line 35 of file CssCompiler.php.
 
 
◆ getCoreVars()
  
  | 
        
          | Elgg\Assets\CssCompiler::getCoreVars | ( |  | ) |  |  | protected | 
 
 
◆ getCssVars()
      
        
          | Elgg\Assets\CssCompiler::getCssVars | ( | array | $compiler_options = [], | 
        
          |  |  | bool | $load_config_vars = true | 
        
          |  | ) |  |  | 
      
 
Fetches a combined set of CSS variables and their value. 
- Parameters
- 
  
    | array | $compiler_options | compiler arguments with potential custom variables |  | bool | $load_config_vars | (internal) determines if config values are being loaded |  
 
- Returns
- array 
Definition at line 62 of file CssCompiler.php.
 
 
◆ getPluginVars()
  
  | 
        
          | Elgg\Assets\CssCompiler::getPluginVars | ( |  | ) |  |  | protected | 
 
 
The documentation for this class was generated from the following file: