Registrar::validator()

Validator validator(array $data) Get a validator for an incoming registration request. Parameters array $data Return Value Validator

Relation

Relation class Relation (View source) Methods void __construct(Builder $query, Model $parent) Create a new relation instance. void addConstraints() Set the base constraints on the relation query. void addEagerConstraints(array $models) Set the constraints for an eager load of the relation. array initRelation(array $models, string $relation) Initialize the relation on a set of models. array match(array $models, Collection $results, string $relation) Match the eagerly lo

Relation::addConstraints()

abstract void addConstraints() Set the base constraints on the relation query. Return Value void

Relation::addEagerConstraints()

abstract void addEagerConstraints(array $models) Set the constraints for an eager load of the relation. Parameters array $models Return Value void

Relation::createdAt()

string createdAt() Get the name of the "created at" column. Return Value string

Relation::getBaseQuery()

Builder getBaseQuery() Get the base query builder driving the Eloquent builder. Return Value Builder

Relation::getEager()

Collection getEager() Get the relationship for eager loading. Return Value Collection

Relation::getParent()

Model getParent() Get the parent model of the relation. Return Value Model

Relation::getQualifiedParentKeyName()

string getQualifiedParentKeyName() Get the fully qualified parent key name. Return Value string

Relation::getQuery()

Builder getQuery() Get the underlying query for the relation. Return Value Builder