schmittjoh / JMSJobQueueBundle

Run and Schedule Symfony Console Commands as Background Jobs
http://jmsyst.com/bundles/JMSJobQueueBundle
335 stars 254 forks source link

added function findJobById($id) #94

Closed ickbinhier closed 9 years ago

ickbinhier commented 9 years ago

added function findJobById($id) to find easy a job by a id.

nclavaud commented 9 years ago

JobRepository extends Doctrine's EntityRepository, so just use find(): http://symfony.com/doc/current/book/doctrine.html#querying-for-objects

schmittjoh commented 9 years ago

Yeah, Doctrine already provides such a method by default.

ickbinhier commented 9 years ago

ok, sorry...

schmittjoh commented 9 years ago

No problem, thanks for opening this still :)