Given ```php class X { public function __construct($fooBar) { } } ``` We can factorize it in 3 ways - `create(X::class, ['fooBarValue'])` - `create(X::class, ['foo_bar' => 'fooBarValue'])` - `create(X::class, ['fooBar' => 'fooBarValue'])` It's hard to anticipate on when working with a customized/decorated factory. Idea is do dispatch an event, e.g. PRE_CREATE_OBJECT & POST_CREATE_OBJECT
Activity