How to get page reference from resource

Hello!
I have a set of pages (list/create/edit) that have url attribute, something like
#[Url]
public ?string $parent_id = null;


How can access this attribute from methods in corresponding resource? (In form or table methods)
I'm sorry if this is a dumb question, but I'm pretty new in Livewire and Filament ecosystem.
Solution
Thanks a lot! That pointed me in the right direction.
Also, there is even a simpler way, there is a getLivewire() available on table and form components:
$table->getLivewire()->parent_id
Was this page helpful?