HasMany#

HasMany is a relation to the related records of another resource, hasMany in the descriptor. It shows a count in lists and a panel on the record page. A has-many’s rows edited inside the parent’s form are a Repeater in relationship mode.

HasMany::to('agents', AgentResource::class),
A HasMany field on a support team's record page: the label Agents above a count of 3
A HasMany field on a support team's record page: the label Agents above a count of 3

Collections are never filterable (Filter operators).

It is declared as every relation is, and takes the common modifiers too.