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
Bruno Pereira
Bruno Pereira6d ago
$this->getOwnerRecord()
$this->getOwnerRecord()
Zen Nitiruj
Zen Nitiruj6d ago
Why don't use just use UserResource::somethod() but if you want to use the record use $livewire->getOwnerRecord()
Want results from more Discord servers?
Add your server