RelationNotFoundException class RelationNotFoundException extends RuntimeException (View source) Methods static RelationNotFoundException make(mixed $model, string $relation) Create a new exception instance.
void __construct(Builder $query, Model $parent) Create a new relation instance. Parameters Builder $query Model $parent Return Value void
void __clone() Force a clone of the underlying query builder when cloning. Return Value void
mixed __call(string $method, array $parameters) Handle dynamic method calls to the relationship. Parameters string $method array $parameters Return Value mixed
string wrap(string $value) Wrap the given value with the parent query's grammar. Parameters string $value Return Value string
string updatedAt() Get the name of the "updated at" column. Return Value string
void touch() Touch all of the related models for the relationship. Return Value void
string relatedUpdatedAt() Get the name of the related model's "updated at" column. Return Value string
int rawUpdate(array $attributes = array()) Run a raw update against the base query. Parameters array $attributes Return Value int
static mixed noConstraints(Closure $callback) Run a callback with constraints disabled on the relation. Parameters Closure $callback Return Value mixed
Page 273 of 996