class LessFilePresetType implements TypeInterface (View source)

Constants

PRESET_RULE_NAME

Properties

protected Less_Parser $lessParser

Methods

__construct(Less_Parser $lessParser)

LessFileSkinType constructor.

string
getSkinNameFromFile(string $path)

No description

createPresetFromPath(string $path, Theme $theme)

No description

string
getVariablesFile(PresetInterface $preset)

No description

string
getEntryPointFile(PresetInterface $preset)

No description

Details

__construct(Less_Parser $lessParser)

LessFileSkinType constructor.

Parameters

Less_Parser $lessParser

protected string getSkinNameFromFile(string $path)

No description

Parameters

string $path

Return Value

string

PresetInterface createPresetFromPath(string $path, Theme $theme)

No description

Parameters

string $path
Theme $theme

Return Value

PresetInterface

string getVariablesFile(PresetInterface $preset)

No description

Parameters

PresetInterface $preset

Return Value

string

string getEntryPointFile(PresetInterface $preset)

No description

Parameters

PresetInterface $preset

Return Value

string