Fields

HasManyThrough

Inherits from HasMany.

* has the same capabilities.

The HasManyThrough field is designed to work with the relationship of the same name in Laravel, inheriting from the HasMany field and including all its methods.

use MoonShine\Laravel\Fields\Relationships\HasManyThrough;
 
HasManyThrough::make('Deployments', 'deployments', resource: DeploymentResource::class)