PHP 클래스 Sleimanx2\Plastic\Mappings\Mapper

파일 보기 프로젝트 열기: sleimanx2/plastic 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$notes array The message notes for the current operation.

공개 메소드들

메소드 설명
__construct ( Mappings $repository, Illuminate\Filesystem\Filesystem $files ) 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.

메소드 상세

__construct() 공개 메소드

Mapper constructor.
public __construct ( Mappings $repository, Illuminate\Filesystem\Filesystem $files )
$repository Mappings
$files Illuminate\Filesystem\Filesystem

getFilesystem() 공개 메소드

Return a filesystem instance.
public getFilesystem ( ) : Illuminate\Filesystem\Filesystem
리턴 Illuminate\Filesystem\Filesystem

getMappingFiles() 공개 메소드

Get all of the migration files in a given path.
public getMappingFiles ( $path ) : array
$path
리턴 array

getNotes() 공개 메소드

Return the registered notes.
public getNotes ( ) : array
리턴 array

getRepository() 공개 메소드

Return a filesystem instance.
public getRepository ( ) : Illuminate\Filesystem\Filesystem
리턴 Illuminate\Filesystem\Filesystem

note() 보호된 메소드

Add a message to the note array.
protected note ( $message )
$message

repositoryExists() 공개 메소드

Check if the mappings repository exists.
public repositoryExists ( ) : mixed
리턴 mixed

requireFiles() 공개 메소드

Require All migration files in a given path.
public requireFiles ( $path, array $files )
$path
$files array

resolve() 공개 메소드

Resolve mapping file from.
public resolve ( $file ) : mixed
$file
리턴 mixed

run() 공개 메소드

public run ( $path, array $options = [] )
$options array

runMap() 공개 메소드

Run the given mapping file.
public runMap ( $file, $batch )
$file
$batch

runMappingList() 공개 메소드

Run an array of mappings.
public runMappingList ( array $mappings, array $options = [] )
$mappings array
$options array

setConnection() 공개 메소드

Set the default connection name.
public setConnection ( string $name ) : void
$name string
리턴 void

프로퍼티 상세

$notes 보호되어 있는 프로퍼티

The message notes for the current operation.
protected array $notes
리턴 array