class PendingHasThroughRelationship (View source)
| protected TDeclaringModel | $rootModel | The root model that the relationship exists on. | |
| protected TDeclaringModel>|TDeclaringModel> | $localRelationship | The local relationship. |
| __construct(TDeclaringModel $rootModel, TDeclaringModel>|TDeclaringModel> $localRelationship)
Create a pending has-many-through or has-one-through relationship. | ||
| has($callback)
Define the distant relationship that this model has. | ||
| mixed | __call(string $method, array $parameters)
Handle dynamic method calls into the model. |
Create a pending has-many-through or has-one-through relationship.
Define the distant relationship that this model has.
Handle dynamic method calls into the model.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Database/Eloquent/PendingHasThroughRelationship.html