PresetRepository
in package
Class ThemeOptionsRepository
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- findAll() : array<string|int, mixed>
- Find all presets
- getByName() : Preset
- remove() : mixed
- save() : bool
- Save a ThemeOptions entity to the component.yml file.
Properties
$storage
protected
Storable
$storage
Methods
__construct()
public
__construct(Storable $storage) : mixed
Parameters
- $storage : Storable
findAll()
Find all presets
public
findAll() : array<string|int, mixed>
Return values
array<string|int, mixed>getByName()
public
getByName( $name) : Preset
Parameters
Return values
Presetremove()
public
remove( $entity) : mixed
Parameters
save()
Save a ThemeOptions entity to the component.yml file.
public
save(Preset $entity) : bool
Parameters
- $entity : Preset