maxbrokman / SafeQueue

Laravel Doctrine friendly queue worker
MIT License
30 stars 28 forks source link

Replace EntityManager with EntityManagerInterface #15

Open jon-frankel opened 6 years ago

jon-frankel commented 6 years ago

Making a small change so that the worker type hints the interface rather than the class. This is to support alternative implementations of the EM. (In my case I'm using a proxy object. I should be able to just implement the interface, but I need to extend the EM in order for this worker to use it.)

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 75.676% when pulling 4009def39d5f4c65619dbea0019e1769faf852ba on jon-frankel:patch-1 into 21744ad28dce46576628920d3962e23381492355 on maxbrokman:0.3.