Open almooradi-dev opened 1 year ago
The use of getParentAccessor() is useful when we override the original getParentAccessor() in the ChildResource, because we have a different relation name than the parent model name, for example.
getParentAccessor()
ChildResource
Example:
The use of
getParentAccessor()
is useful when we override the originalgetParentAccessor()
in theChildResource
, because we have a different relation name than the parent model name, for example.Example: