Closed ickbinhier closed 9 years ago
JobRepository
extends Doctrine's EntityRepository
, so just use find()
:
http://symfony.com/doc/current/book/doctrine.html#querying-for-objects
Yeah, Doctrine already provides such a method by default.
ok, sorry...
No problem, thanks for opening this still :)
added function findJobById($id) to find easy a job by a id.