Stud.IP  6.0
Compiler Interface Reference
Inheritance diagram for Compiler:
SASSCompiler

Public Member Functions

 compile ($input, array $variables=[])
 

Static Public Member Functions

static getInstance ()
 

Detailed Description

Compiler interface for all compilers that may compile assets.

Author
Jan-Hendrik Willms tleil.nosp@m.ax+s.nosp@m.tudip.nosp@m.@gma.nosp@m.il.co.nosp@m.m GPL2 or any later version
Since
Stud.IP 4.4

Member Function Documentation

◆ compile()

compile (   $input,
array  $variables = [] 
)

Compiles an input string. Additional variables may be passed.

Parameters
String$inputContent to compile
Array$variablesAdditional variables for the compilation
Returns
String containing the generated CSS

Implemented in SASSCompiler.

◆ getInstance()

static getInstance ( )
static

Returns an instance of the compiler

Returns
Compiler instance

Implemented in SASSCompiler.


The documentation for this interface was generated from the following file: