PHP 클래스 Baum\Generators\Generator

파일 보기 프로젝트 열기: gazsp/baum

보호된 프로퍼티들

프로퍼티 타입 설명
$files Illuminate\Filesystem\Filesystem The filesystem instance.

공개 메소드들

메소드 설명
__construct ( Illuminate\Filesystem\Filesystem $files ) : void Create a new MigrationGenerator instance.
getFilesystem ( ) : Illuminate\Filesystem\Filesystem Get the filesystem instance.
getStubPath ( ) : string Get the path to the stubs.

보호된 메소드들

메소드 설명
classify ( string $input ) : string Inflect to a class name.
getStub ( $name ) : void Get the given stub by name.
parseStub ( string $stub, string $replacements = [] ) : string Parse the provided stub and replace via the array given.
tableize ( string $input ) : string Inflect to table name.

메소드 상세

__construct() 공개 메소드

Create a new MigrationGenerator instance.
public __construct ( Illuminate\Filesystem\Filesystem $files ) : void
$files Illuminate\Filesystem\Filesystem
리턴 void

classify() 보호된 메소드

Inflect to a class name.
protected classify ( string $input ) : string
$input string
리턴 string

getFilesystem() 공개 메소드

Get the filesystem instance.
public getFilesystem ( ) : Illuminate\Filesystem\Filesystem
리턴 Illuminate\Filesystem\Filesystem

getStub() 보호된 메소드

Get the given stub by name.
protected getStub ( $name ) : void
리턴 void

getStubPath() 공개 메소드

Get the path to the stubs.
public getStubPath ( ) : string
리턴 string

parseStub() 보호된 메소드

Parse the provided stub and replace via the array given.
protected parseStub ( string $stub, string $replacements = [] ) : string
$stub string
$replacements string
리턴 string

tableize() 보호된 메소드

Inflect to table name.
protected tableize ( string $input ) : string
$input string
리턴 string

프로퍼티 상세

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

The filesystem instance.
protected Filesystem,Illuminate\Filesystem $files
리턴 Illuminate\Filesystem\Filesystem