/** * Initializes the persistence manager * * @return void * @throws MissingBackendException */ public function initializeObject() { if (!$this->backend instanceof Backend\BackendInterface) { throw new MissingBackendException('A persistence backend must be set prior to initializing the persistence manager.', 1215508456); } $this->backend->setPersistenceManager($this); $this->backend->initialize($this->settings['backendOptions']); }