Inherits from HasMany.
* has the same capabilities.
The HasManyThrough
field is designed to work with the same-name relationship in Laravel.
It inherits from the HasMany
field and including all its methods.
use MoonShine\Laravel\Fields\Relationships\HasManyThrough; HasManyThrough::make( 'Deployments', 'deployments', resource: DeploymentResource::class)