PHP Class Locker\Repository\Statement\EloquentReader

ファイルを表示 Open project: learninglocker/learninglocker

Protected Properties

Property Type Description
$model

Public Methods

Method Description
getCollection ( )

Protected Methods

Method Description
formatModel ( Model $model ) : stdClass Gets the statement from the model as an Object.
where ( Options $opts ) : Jenssegers\Mongodb\Eloquent\Builder Constructs a query restricted by the given options.

Method Details

formatModel() protected method

Gets the statement from the model as an Object.
protected formatModel ( Model $model ) : stdClass
$model Illuminate\Database\Eloquent\Model
return stdClass

getCollection() public method

public getCollection ( )

where() protected method

Constructs a query restricted by the given options.
protected where ( Options $opts ) : Jenssegers\Mongodb\Eloquent\Builder
$opts Options
return Jenssegers\Mongodb\Eloquent\Builder

Property Details

$model protected_oe property

protected $model