PHP 클래스 Appzcoder\CrudGenerator\Commands\CrudMigrationCommand

상속: extends Illuminate\Console\GeneratorCommand
파일 보기 프로젝트 열기: appzcoder/crud-generator

보호된 프로퍼티들

프로퍼티 타입 설명
$description string The console command description.
$signature string The name and signature of the console command.
$type string The type of class being generated.
$typeLookup array Migration column types collection.

보호된 메소드들

메소드 설명
buildClass ( string $name ) : string Build the model class with the given name.
getPath ( string $name ) : string Get the destination class path.
getStub ( ) : string Get the stub file for the generator.
replaceSchemaDown ( string &$stub, string $schemaDown ) Replace the schema_down for the given stub.
replaceSchemaUp ( string &$stub, string $schemaUp ) Replace the schema_up for the given stub.

메소드 상세

buildClass() 보호된 메소드

Build the model class with the given name.
protected buildClass ( string $name ) : string
$name string
리턴 string

getPath() 보호된 메소드

Get the destination class path.
protected getPath ( string $name ) : string
$name string
리턴 string

getStub() 보호된 메소드

Get the stub file for the generator.
protected getStub ( ) : string
리턴 string

replaceSchemaDown() 보호된 메소드

Replace the schema_down for the given stub.
protected replaceSchemaDown ( string &$stub, string $schemaDown )
$stub string
$schemaDown string

replaceSchemaUp() 보호된 메소드

Replace the schema_up for the given stub.
protected replaceSchemaUp ( string &$stub, string $schemaUp )
$stub string
$schemaUp string

프로퍼티 상세

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

The console command description.
protected string $description
리턴 string

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

The name and signature of the console command.
protected string $signature
리턴 string

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

The type of class being generated.
protected string $type
리턴 string

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

Migration column types collection.
protected array $typeLookup
리턴 array