Pricing markup for premium domains

class Premium extends AbstractModel

Properties summary

Type Property Description
protected $table

Methods summary

Return Type Method Name Description
static  boot() -
createTable(bool|false $drop = false) Create table schema
static float markupForCost(float $amount) Obtain the markup for the supplied cost

Details

static boot ()

createTable (bool|false $drop = false)

Create table schema

Parameters

bool|false $drop Drop pre-existing tables

static float markupForCost (float $amount)

Obtain the markup for the supplied cost

Parameters

float $amount

Return Value

float