Build

package

Default

Methods

__construct

__construct( $arguments) 

Arguments

$arguments

Generate new controller with actions

controller(string $name) : boolean
throws

Arguments

$name

string

Name of the controller

Response

boolean

Generate new model

model(string $name, string $primaryKey) : boolean
throws

Arguments

$name

string

Name of the model

$primaryKey

string

Name of the primary key column

Response

boolean

Generate template file

template(string $name) : boolean
throws

Arguments

$name

string

Path and name of the template file

Response

boolean

Generate view file

view(string $name) : boolean
throws

Arguments

$name

string

Path and name of the view file

Response

boolean

Properties

Command line arguments

arguments : array
var

Command line arguments

Type(s)

array

Application full path

appPath : string
var

Application full path

Type(s)

string