PHP 클래스 Baum\Generators\MigrationGenerator

상속: extends Generator
파일 보기 프로젝트 열기: gazsp/baum 1 사용 예제들

공개 메소드들

메소드 설명
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