class FileTypeIconService (View source)

Service that retrieves an icon for the file type of a given filename

Properties

static protected $cache

Methods

static array
getIcon(string $filename)

Returns an icon for a file type within given dimensions

static string
extractFileExtension(string $filename)

No description

Details

static array getIcon(string $filename)

Returns an icon for a file type within given dimensions

Parameters

string $filename

Return Value

array

static protected string extractFileExtension(string $filename)

No description

Parameters

string $filename

Return Value

string