Most factory states just flip a flag, but they can also accept arguments. That o...
Joel Clermont @jclermont@phpc.social
Most factory states just flip a flag, but they can also accept arguments. That opens up some useful patterns, like deriving test data from another model. #php #laravel https://masteringlaravel.io/daily/2026-08-20-factory-states-can-accept-arguments