class SkinFactory (View source)

Properties

protected Text $textService
protected Filesystem $filesystem

Methods

__construct(Filesystem $filesystem, Text $textService)

No description

SkinInterface|null
createFromPath(string $path, Theme $theme)

No description

array
createMultipleFromDirectory(string $path, Theme $theme)

Returns an array of SkinInterface objects found in the path.

Details

__construct(Filesystem $filesystem, Text $textService)

No description

Parameters

Filesystem $filesystem
Text $textService

SkinInterface|null createFromPath(string $path, Theme $theme)

No description

Parameters

string $path
Theme $theme

Return Value

SkinInterface|null

array createMultipleFromDirectory(string $path, Theme $theme)

Returns an array of SkinInterface objects found in the path.

Parameters

string $path
Theme $theme

Return Value

array