Dave Jones on Nostr: #laravel If I add data to the paginator links in my View like: {{ ...
#laravel If I add data to the paginator links in my View like:
{{ $feeds->appends(['foo' => 'bar')->links() }}
...then how do I later access 'foo' in the customized pagination blade when there is no $request to tap into, and Paginator::query is a protected property? I can literally see the data with dd() but can't access it. It's like there is an accessor method somewhere that I don't know about but can't find in the API docs.
{{ $feeds->appends(['foo' => 'bar')->links() }}
...then how do I later access 'foo' in the customized pagination blade when there is no $request to tap into, and Paginator::query is a protected property? I can literally see the data with dd() but can't access it. It's like there is an accessor method somewhere that I don't know about but can't find in the API docs.