class ModelStubs

Collection of stubs for model files.

Methods

static string
modelTemplate(string $modelName)

The default template for a new model class.

static string
uploadModelTemplate(string $modelName)

The default template for a new upload model class.

Details

at line 17
static string modelTemplate(string $modelName)

The default template for a new model class.

Parameters

string $modelName

The name of the model.

Return Value

string

The contents for a new model.

at line 75
static string uploadModelTemplate(string $modelName)

The default template for a new upload model class.

Parameters

string $modelName

The name of the model.

Return Value

string

The contents for a new model.