class
Illuminate
/
Database
/
Eloquent
/
PendingHasThroughRelationship
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
PendingHasThroughRelationship
Properties
Methods
public
__construct ( $rootModel , $localRelationship ) : void
Create a pending has-many-through or has-one-through relationship.
Parameters
public
has ( $callback ) : HasManyThrough |HasOneThrough
Define the distant relationship that this model has.
Parameters
- $callback string|callable
public
__call ( $method , $parameters ) : mixed
Handle dynamic method calls into the model.
Parameters
- $method string
- $parameters array