Ben Ramsey on Nostr: Why doesn’t the Symfony Process component include a factory for creating an ...
Why doesn’t the Symfony Process component include a factory for creating an instance? Every time I use it in a new project, I find myself creating my own factory to support injecting it as a dependency.
#PHP #Symfony
Published at
2025-03-12 23:12:03Event JSON
{
"id": "41a67631cea280d3c8c1ed5e6279c2bba838fe76f566ff3b349dffc68535bd2c",
"pubkey": "e653eb60b2db5edf906d354c2825bf00a80dfab1b1766cd97805155e8fcc0db3",
"created_at": 1741821123,
"kind": 1,
"tags": [
[
"t",
"php"
],
[
"t",
"symfony"
],
[
"proxy",
"https://phpc.social/users/ramsey/statuses/114151989149679663",
"activitypub"
]
],
"content": "Why doesn’t the Symfony Process component include a factory for creating an instance? Every time I use it in a new project, I find myself creating my own factory to support injecting it as a dependency.\n\n#PHP #Symfony",
"sig": "29e124667aa30df80e6f65e881926d91e37cc272b2e69b83e1fc35d4aabdb9d60c90c40de8530a65ff902f22493ce91d0dc7c35156dd67fd139b679c834fc063"
}