interface PresetAdapterInterface

PresetAdapterInterface

Any Preset adapter must implement this interface methods.

Methods

__construct(array $data, AssetsPresetInterface $preset)

No description

array
getData()

Return the parsed and transformed statement array

void
parse()

Parse and transform the preset statement to a ready-to-use information

string
__toString()

Returns the transformed info of the preset statement

string
__toHtml()

Returns the transformed info of the preset statement as a ready-to-use HTML string

Details

at line 39
__construct(array $data, AssetsPresetInterface $preset)

Parameters

array $data The preset data
AssetsPresetInterface $preset

at line 45
array getData()

Return the parsed and transformed statement array

Return Value

array

at line 51
void parse()

Parse and transform the preset statement to a ready-to-use information

Return Value

void

at line 57
string __toString()

Returns the transformed info of the preset statement

Return Value

string

at line 63
string __toHtml()

Returns the transformed info of the preset statement as a ready-to-use HTML string

Return Value

string