Dave Jones on Nostr: #laravel Am I understanding correctly that routing directly to a Controller class ...
#laravel Am I understanding correctly that routing directly to a Controller class will instantiate an instance of that object (calling __construct()) on the fly?
Published at
2024-09-17 16:06:14Event JSON
{
"id": "ef385d462bf9a03b100ed25cd80c71a14ddfe482e04024931284fb8dcdf2817c",
"pubkey": "01b564093b88a80fa5269f27044e1dea1d832f56f9b40f2064a6ba39506f27e2",
"created_at": 1726589174,
"kind": 1,
"tags": [
[
"t",
"laravel"
],
[
"proxy",
"https://podcastindex.social/users/dave/statuses/113153748133861899",
"activitypub"
]
],
"content": "#laravel Am I understanding correctly that routing directly to a Controller class will instantiate an instance of that object (calling __construct()) on the fly?",
"sig": "6b1b24594a413375fc740a40521ecce3a05d43ba0fce9ae81c714e43e5198afc6653e5133e840e143176ebcb188e268edbb20017c0c66441c1bbcc10772adf32"
}