public function __construct(array $references = [], EntityManager $em = null) { $this->references = $references; $this->em = $em; }