PHP 클래스 Sleimanx2\Plastic\Mappings\Mapping

파일 보기 프로젝트 열기: sleimanx2/plastic

보호된 프로퍼티들

프로퍼티 타입 설명
$model Illuminate\Database\Eloquent\Model Eloquent instance.

공개 메소드들

메소드 설명
__construct ( ) Mapping constructor.
getModelIndex ( ) : mixed Get the model elastic type.
getModelType ( ) : mixed Get the model elastic type.

보호된 메소드들

메소드 설명
prepareModel ( ) Validate the given model and create a new instance.

메소드 상세

__construct() 공개 메소드

Mapping constructor.
public __construct ( )

getModelIndex() 공개 메소드

Get the model elastic type.
public getModelIndex ( ) : mixed
리턴 mixed

getModelType() 공개 메소드

Get the model elastic type.
public getModelType ( ) : mixed
리턴 mixed

prepareModel() 보호된 메소드

Validate the given model and create a new instance.
protected prepareModel ( )

프로퍼티 상세

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

Eloquent instance.
protected Model,Illuminate\Database\Eloquent $model
리턴 Illuminate\Database\Eloquent\Model