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