Relation::getEager()

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

Relation::getBaseQuery()

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

Relation::createdAt()

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

Relation::addEagerConstraints()

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

Relation::addConstraints()

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

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

Registrar::validator()

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

Registrar::substituteImplicitBindings()

void substituteImplicitBindings(Route $route) Substitute the implicit Eloquent model bindings for the route. Parameters Route $route Return Value void

Registrar::substituteBindings()

Route substituteBindings(Route $route) Substitute the route bindings onto the route. Parameters Route $route Return Value Route

Registrar::resource()

void resource(string $name, string $controller, array $options = array()) Route a resource to a controller. Parameters string $name string $controller array $options Return Value void