Свойство | Тип | Описание | |
---|---|---|---|
$notes | array | The message notes for the current operation. |
Метод | Описание | |
---|---|---|
__construct ( |
Mapper constructor. | |
getFilesystem ( ) : Illuminate\Filesystem\Filesystem | Return a filesystem instance. | |
getMappingFiles ( $path ) : array | Get all of the migration files in a given path. | |
getNotes ( ) : array | Return the registered notes. | |
getRepository ( ) : Illuminate\Filesystem\Filesystem | Return a filesystem instance. | |
repositoryExists ( ) : mixed | Check if the mappings repository exists. | |
requireFiles ( $path, array $files ) | Require All migration files in a given path. | |
resolve ( $file ) : mixed | Resolve mapping file from. | |
run ( $path, array $options = [] ) | ||
runMap ( $file, $batch ) | Run the given mapping file. | |
runMappingList ( array $mappings, array $options = [] ) | Run an array of mappings. | |
setConnection ( string $name ) : void | Set the default connection name. |
Метод | Описание | |
---|---|---|
note ( $message ) | Add a message to the note array. |
public __construct ( |
||
$repository | ||
$files | Illuminate\Filesystem\Filesystem |
public getFilesystem ( ) : Illuminate\Filesystem\Filesystem | ||
Результат | Illuminate\Filesystem\Filesystem |
public getMappingFiles ( $path ) : array | ||
$path | ||
Результат | array |
public getRepository ( ) : Illuminate\Filesystem\Filesystem | ||
Результат | Illuminate\Filesystem\Filesystem |
public repositoryExists ( ) : mixed | ||
Результат | mixed |
public requireFiles ( $path, array $files ) | ||
$path | ||
$files | array |
public runMappingList ( array $mappings, array $options = [] ) | ||
$mappings | array | |
$options | array |
public setConnection ( string $name ) : void | ||
$name | string | |
Результат | void |
protected array $notes | ||
Результат | array |