public function __construct(EntityManager $em, $config = array()) { $this->em = $em; $this->config = $config; $this->jobby = new Jobby(); }