class Package (View source)

The package card component.

Methods

static string
render(object $package)

Render a package card.

Details

static string render(object $package)

Render a package card.

Parameters

object $package

Return Value

string The HTML of the card