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),
Collections are never filterable (Filter operators).
It is declared as every relation is, and takes the common modifiers too.