PHP Class Laralib\L5scaffold\Makes\MakeModel

Inheritance: use trait MakerTrait
Show file Open project: laralib/l5scaffold

Public Methods

Method Description
__construct ( ScaffoldMakeCommand $scaffoldCommand, Illuminate\Filesystem\Filesystem $files ) : void Create a new instance.

Protected Methods

Method Description
buildFillable ( &$stub ) : string Build stub replacing the variable template.
compileModelStub ( ) : string Compile the migration stub.

Private Methods

Method Description
start ( ) : void Start make controller.

Method Details

__construct() public method

Create a new instance.
public __construct ( ScaffoldMakeCommand $scaffoldCommand, Illuminate\Filesystem\Filesystem $files ) : void
$scaffoldCommand Laralib\L5scaffold\Commands\ScaffoldMakeCommand
$files Illuminate\Filesystem\Filesystem
return void

buildFillable() protected method

Build stub replacing the variable template.
protected buildFillable ( &$stub ) : string
return string

compileModelStub() protected method

Compile the migration stub.
protected compileModelStub ( ) : string
return string