Dave 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.
Published at
2024-09-02 21:24:28 UTCEvent JSON
{
"id": "45e7e07429a6fa58c1c4518289fbd4723a1ac75c5cdfa4ce831b158534794aec",
"pubkey": "1e2637ad71db45378ad68094115f1128cd32bddb5d080ffd44f3518f4583cbfb",
"created_at": 1725312268,
"kind": 1,
"tags": [
[
"t",
"laravel"
],
[
"proxy",
"https://podcastindex.social/@dave/113070064845471592",
"web"
],
[
"proxy",
"https://podcastindex.social/users/dave/statuses/113070064845471592",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://podcastindex.social/users/dave/statuses/113070064845471592",
"pink.momostr"
],
[
"-"
]
],
"content": "#laravel If I add data to the paginator links in my View like:\n\n{{ $feeds-\u003eappends(['foo' =\u003e 'bar')-\u003elinks() }}\n\n...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.",
"sig": "cfa474422340ef08942f75bcc83d01287f3fcf0d29f6b626deea26983c9eb21cc8829a5300044082e3a1bdda97515a52ec71e4292aca6aa2db18c7c4e4e62ff9"
}