Property | Type | Description | |
---|---|---|---|
$notes | array | The message notes for the current operation. |
Method | Description | |
---|---|---|
__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. |
Method | Description | |
---|---|---|
note ( $message ) | Add a message to the note array. |
public __construct ( |
||
$repository | ||
$files | Illuminate\Filesystem\Filesystem |
public getFilesystem ( ) : Illuminate\Filesystem\Filesystem | ||
return | Illuminate\Filesystem\Filesystem |
public getMappingFiles ( $path ) : array | ||
$path | ||
return | array |
public getRepository ( ) : Illuminate\Filesystem\Filesystem | ||
return | Illuminate\Filesystem\Filesystem |
public repositoryExists ( ) : mixed | ||
return | 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 | |
return | void |
protected array $notes | ||
return | array |