Most factory states just flip a flag, but they can also accept arguments. That o...

@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 masteringlaravel.io/daily/2026