class
Illuminate
/
Database
/
Eloquent
/
PendingHasThroughRelationship
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