PHP Class Laralib\L5scaffold\Makes\MakeLayout

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
getPathResource ( ) : string Get the path to where we should store the view.
putViewLayout ( $name, $stub, $file ) : void Write layout in path
start ( ) : void Start make layout(view).

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

getPathResource() protected method

Get the path to where we should store the view.
protected getPathResource ( ) : string
return string

putViewLayout() protected method

Write layout in path
protected putViewLayout ( $name, $stub, $file ) : void
return void

start() protected method

Start make layout(view).
protected start ( ) : void
return void