Property | Type | Description | |
---|---|---|---|
$files | Illuminate\Filesystem\Filesystem | The filesystem instance. | |
$publicPath | string |
Method | Description | |
---|---|---|
__construct ( Illuminate\Filesystem\Filesystem $files, string $publicPath ) | Create a new migrator instance. | |
create ( string $name, |
Create a new migration for the given extension. |
Method | Description | |
---|---|---|
getDatePrefix ( ) : string | Get the date prefix for the migration. | |
getMigrationPath ( string $extension ) : string | Get the full path name to the migration directory. | |
getPath ( string $name, string $path ) : string | Get the full path name to the migration. | |
getStub ( string $table, boolean $create ) : string | Get the migration stub file. | |
getStubPath ( ) : string | Get the path to the stubs. | |
populateStub ( string $stub, string $table ) : string | Populate the place-holders in the migration stub. |
public __construct ( Illuminate\Filesystem\Filesystem $files, string $publicPath ) | ||
$files | Illuminate\Filesystem\Filesystem | |
$publicPath | string |
protected getDatePrefix ( ) : string | ||
return | string |
protected getMigrationPath ( string $extension ) : string | ||
$extension | string | |
return | string |
protected getStubPath ( ) : string | ||
return | string |
protected Filesystem,Illuminate\Filesystem $files | ||
return | Illuminate\Filesystem\Filesystem |