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

파일 보기 프로젝트 열기: bosnadev/repositories

보호된 프로퍼티들

프로퍼티 타입 설명
$criteria
$files Illuminate\Filesystem\Filesystem
$model

공개 메소드들

메소드 설명
__construct ( Illuminate\Filesystem\Filesystem $files )
create ( $criteria, $model ) : integer Create the criteria.
createDirectory ( ) Create the criteria directory.
getCriteria ( ) : mixed
getDirectory ( ) : string Get the criteria directory.
getModel ( ) : mixed
setCriteria ( mixed $criteria )
setModel ( mixed $model )

보호된 메소드들

메소드 설명
createClass ( ) : integer Create the repository class.
getPath ( ) : string Get the path.
getPopulateData ( ) : array Get the populate data.
getStub ( ) : string Get the stub.
getStubPath ( ) : string Get the stub path.
pluralizeModel ( ) : string Pluralize the model.
populateStub ( ) : mixed Populate the stub.

메소드 상세

__construct() 공개 메소드

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

create() 공개 메소드

Create the criteria.
public create ( $criteria, $model ) : integer
$criteria
$model
리턴 integer

createClass() 보호된 메소드

Create the repository class.
protected createClass ( ) : integer
리턴 integer

createDirectory() 공개 메소드

Create the criteria directory.
public createDirectory ( )

getCriteria() 공개 메소드

public getCriteria ( ) : mixed
리턴 mixed

getDirectory() 공개 메소드

Get the criteria directory.
public getDirectory ( ) : string
리턴 string

getModel() 공개 메소드

public getModel ( ) : mixed
리턴 mixed

getPath() 보호된 메소드

Get the path.
protected getPath ( ) : string
리턴 string

getPopulateData() 보호된 메소드

Get the populate data.
protected getPopulateData ( ) : array
리턴 array

getStub() 보호된 메소드

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

getStubPath() 보호된 메소드

Get the stub path.
protected getStubPath ( ) : string
리턴 string

pluralizeModel() 보호된 메소드

Pluralize the model.
protected pluralizeModel ( ) : string
리턴 string

populateStub() 보호된 메소드

Populate the stub.
protected populateStub ( ) : mixed
리턴 mixed

setCriteria() 공개 메소드

public setCriteria ( mixed $criteria )
$criteria mixed

setModel() 공개 메소드

public setModel ( mixed $model )
$model mixed

프로퍼티 상세

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

protected $criteria

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

protected Filesystem,Illuminate\Filesystem $files
리턴 Illuminate\Filesystem\Filesystem

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

protected $model