class PresetFactory (View source)

Properties

protected Filesystem $filesystem
protected FileLocator $fileLocator

Methods

__construct(FileLocator $fileLocator, Filesystem $filesystem)

No description

array
createFromTheme(Theme $theme, TypeInterface $type)

Returns an array of SkinInterface objects found in the path.

Details

__construct(FileLocator $fileLocator, Filesystem $filesystem)

No description

Parameters

FileLocator $fileLocator
Filesystem $filesystem

array createFromTheme(Theme $theme, TypeInterface $type)

Returns an array of SkinInterface objects found in the path.

Parameters

Theme $theme
TypeInterface $type

Return Value

array