PHP Class Locker\Repository\Statement\EloquentReader

Afficher le fichier Open project: learninglocker/learninglocker

Protected Properties

Свойство Type Description
$model

Méthodes publiques

Méthode Description
getCollection ( )

Méthodes protégées

Méthode 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 méthode

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

getCollection() public méthode

public getCollection ( )

where() protected méthode

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

Property Details

$model protected_oe property

protected $model