Свойство | Тип | Описание | |
---|---|---|---|
$files | Illuminate\Filesystem\Filesystem | The filesystem instance. | |
$publicPath | string |
Метод | Описание | |
---|---|---|
__construct ( Illuminate\Filesystem\Filesystem $files, string $publicPath ) | Create a new migrator instance. | |
create ( string $name, |
Create a new migration for the given extension. |
Метод | Описание | |
---|---|---|
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 | ||
Результат | string |
protected getMigrationPath ( string $extension ) : string | ||
$extension | string | |
Результат | string |
protected getStubPath ( ) : string | ||
Результат | string |
protected Filesystem,Illuminate\Filesystem $files | ||
Результат | Illuminate\Filesystem\Filesystem |