class File (View source)

The file card component.

Methods

static string
render(string $file, string $id)

Render a file card.

Details

static string render(string $file, string $id)

Render a file card.

Parameters

string $file
string $id

Return Value

string The HTML of the card