PHP 클래스 Bosnadev\Repositories\Console\Commands\Creators\RepositoryCreator

파일 보기 프로젝트 열기: bosnadev/repositories 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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