PHP 클래스 Caffeinated\Modules\Database\Migrations\Migrator

상속: extends Illuminate\Database\Migrations\Migrator
파일 보기 프로젝트 열기: caffeinated/modules

보호된 프로퍼티들

프로퍼티 타입 설명
$table

공개 메소드들

메소드 설명
__construct ( string $table, Illuminate\Database\Migrations\MigrationRepositoryInterface $repository, Illuminate\Database\ConnectionResolverInterface $resolver, Illuminate\Filesystem\Filesystem $files ) Create a new migrator instance.
getRanMigrations ( ) : Collection Get all the ran migrations.
rollback ( array | string $paths = [], array $options = [] ) : array Rollback the last migration operation.

메소드 상세

__construct() 공개 메소드

Create a new migrator instance.
public __construct ( string $table, Illuminate\Database\Migrations\MigrationRepositoryInterface $repository, Illuminate\Database\ConnectionResolverInterface $resolver, Illuminate\Filesystem\Filesystem $files )
$table string
$repository Illuminate\Database\Migrations\MigrationRepositoryInterface
$resolver Illuminate\Database\ConnectionResolverInterface
$files Illuminate\Filesystem\Filesystem

getRanMigrations() 공개 메소드

Get all the ran migrations.
public getRanMigrations ( ) : Collection
리턴 Illuminate\Support\Collection

rollback() 공개 메소드

Rollback the last migration operation.
public rollback ( array | string $paths = [], array $options = [] ) : array
$paths array | string
$options array
리턴 array

프로퍼티 상세

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

protected $table