code: public function setStorage($storage, $options = null) {
          if (!$storage instanceof Storage\StorageInterface) {
              $storage = $this->getStoragePluginManager()->get($storage, $options);
          }
          $this->storage = $storage;
          return $this;
      }
docs: Set the current storage
  @param Storage\StorageInterface/string $storage
  @return SimpleMemoryShared