/** * Registers a storage container. * * @param \WordPress\Data\StorageInterface $storage * * @return \WordPress\Data\Manager */ public function addStorage(StorageInterface $storage) { $this->storage[$storage->getName()] = $storage; return $this; }
/** * Registers a storage container. * * @param \WordPress\Data\StorageInterface $storage * * @return \WordPress\Data\Manager */ public function addStorage(StorageInterface $storage) { $this->storage[$storage->getName()] = $storage; return $this; }