PHP Класс Baum\Generators\MigrationGenerator

Наследование: extends Generator
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
create ( string $name, string $path ) : string Create a new migration at the given path.

Защищенные методы

Метод Описание
getDatePrefix ( ) : integer Get the date prefix for the migration.
getMigrationClassName ( string $name ) Get the name for the migration class.
getMigrationName ( string $name ) : string Get the migration name.
getPath ( string $name, string $path ) : string Get the full path name to the migration.

Описание методов

create() публичный Метод

Create a new migration at the given path.
public create ( string $name, string $path ) : string
$name string
$path string
Результат string

getDatePrefix() защищенный Метод

Get the date prefix for the migration.
protected getDatePrefix ( ) : integer
Результат integer

getMigrationClassName() защищенный Метод

Get the name for the migration class.
protected getMigrationClassName ( string $name )
$name string

getMigrationName() защищенный Метод

Get the migration name.
protected getMigrationName ( string $name ) : string
$name string
Результат string

getPath() защищенный Метод

Get the full path name to the migration.
protected getPath ( string $name, string $path ) : string
$name string
$path string
Результат string