PHP Класс Baum\Generators\Generator

Показать файл Открыть проект

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

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