PHP Класс Bosnadev\Repositories\Console\Commands\Creators\RepositoryCreator

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

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

Свойство Тип Описание
$files Illuminate\Filesystem\Filesystem
$model
$repository

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

Метод Описание
__construct ( Illuminate\Filesystem\Filesystem $files )
create ( $repository, $model ) : integer Create the repository.
getModel ( ) : mixed
getRepository ( ) : mixed
setModel ( mixed $model )
setRepository ( mixed $repository )

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

Метод Описание
createClass ( )
createDirectory ( )
getDirectory ( ) : mixed Get the repository directory.
getModelName ( ) : string Get the model name.
getPath ( ) : string Get the path.
getPopulateData ( ) : array Get the populate data.
getRepositoryName ( ) : mixed | string Get the repository name.
getStub ( ) : string Get the stub.
getStubPath ( ) : string Get the stub path.
populateStub ( ) : mixed Populate the stub.
stripRepositoryName ( ) : string Get the stripped repository name.

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

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

public __construct ( Illuminate\Filesystem\Filesystem $files )
$files Illuminate\Filesystem\Filesystem

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

Create the repository.
public create ( $repository, $model ) : integer
$repository
$model
Результат integer

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

protected createClass ( )

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

protected createDirectory ( )

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

Get the repository directory.
protected getDirectory ( ) : mixed
Результат mixed

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

public getModel ( ) : mixed
Результат mixed

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

Get the model name.
protected getModelName ( ) : string
Результат string

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

Get the path.
protected getPath ( ) : string
Результат string

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

Get the populate data.
protected getPopulateData ( ) : array
Результат array

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

public getRepository ( ) : mixed
Результат mixed

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

Get the repository name.
protected getRepositoryName ( ) : mixed | string
Результат mixed | string

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

Get the stub.
protected getStub ( ) : string
Результат string

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

Get the stub path.
protected getStubPath ( ) : string
Результат string

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

Populate the stub.
protected populateStub ( ) : mixed
Результат mixed

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

public setModel ( mixed $model )
$model mixed

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

public setRepository ( mixed $repository )
$repository mixed

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

Get the stripped repository name.
protected stripRepositoryName ( ) : string
Результат string

Описание свойств

$files защищенное свойство

protected Filesystem,Illuminate\Filesystem $files
Результат Illuminate\Filesystem\Filesystem

$model защищенное свойство

protected $model

$repository защищенное свойство

protected $repository