Property | Type | Description | |
---|---|---|---|
$files | Illuminate\Filesystem\Filesystem | The filesystem instance. | |
$scaffoldCommandM |
Method | Description | |
---|---|---|
__construct ( |
Method | Description | |
---|---|---|
buildStub ( array $metas, &$template ) : void | Build file replacing metas in template. | |
existsDirectory ( $path ) | ||
getArrayRecursive ( array $array, $parent = '' ) | ||
getDestinationViews ( $model ) | ||
getFile ( $file ) | ||
getFilesRecursive ( $path ) | ||
getPath ( $file_name, string $path = 'controller' ) : string | Get the path to where we should store the controller. | |
getStubFields ( $ui, $type ) : array | Get fields stubs. | |
getStubPath ( ) : string | Get stub path. | |
getStubViews ( $ui ) : array | Get views stubs. | |
makeDirectory ( string $path ) : string | Build the directory for the class if necessary. |
public __construct ( |
||
$scaffoldCommand | ||
$files | Illuminate\Filesystem\Filesystem |
protected getArrayRecursive ( array $array, $parent = '' ) | ||
$array | array |
protected getStubFields ( $ui, $type ) : array | ||
return | array | fields |
protected getStubViews ( $ui ) : array | ||
return | array | views |
protected makeDirectory ( string $path ) : string | ||
$path | string | |
return | string |
protected Filesystem,Illuminate\Filesystem $files | ||
return | Illuminate\Filesystem\Filesystem |