PHP Класс Caffeinated\Modules\Database\Migrations\Migrator

Наследование: extends Illuminate\Database\Migrations\Migrator
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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