PHP Класс Sleimanx2\Plastic\Mappings\Mapping

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

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

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