Let use extend EntityManager

change new EntityManager into new self in static function create