Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
Compiler Interface Reference
Inheritance diagram for Compiler:
LESSCompiler 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 (   $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 LESSCompiler, and SASSCompiler.

static getInstance ( )
static

Returns an instance of the compiler

Returns
Compiler instance

Implemented in LESSCompiler, and SASSCompiler.


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