public function __construct(EntityManager $em) { $this->originalEntityName = WorkHistory::getRepoName(); parent::__construct($em); }