How can I get the parent Resource from RelationManager class?
Hi.
I'm having a
UserResource
class, which has the ContactRelationManager
.
In the Create/Edit/List pages of the UserResource
, I can use method like: self::getResource()
to point to the UserResource
class.
So, from the ContactRelationManager
class, how can I get the full path of the UserResource
class?
Thanks.3 Replies
Why don't use just use UserResource::somethod()
but if you want to use the record use $livewire->getOwnerRecord()