public function initialize(ApplicationInterface $application) { $this->registerEntityManagers($application); }