Example #1
0
 /**
  * {@inheritDoc}
  *
  * @api
  */
 public function getVersionManager()
 {
     if (!$this->session->getTransport() instanceof VersioningInterface) {
         throw new UnsupportedRepositoryOperationException('Transport does not support versioning');
     }
     return $this->factory->get('Version\\VersionManager', array($this->session->getObjectManager()));
 }