Remove a value from cache

@param \Itkg\Core\CacheableInterface $item
@return void
495099
public function remove(CacheableInterface $item)
    {
        parent::remove($item);
        $this->adapter->remove($item);
    }
44611
protected function setActive(ItemInterface $item = null)
    {
        if ($item) {
            $this->setActive($item->getParent());
            $item->setAttribute('class', $item->getAttribute('class', '') . ' active');
        }
    }
1102807
function remove($item) {
        $hash = call_user_func($this->hashFunction, $item);

        assert(is_scalar($hash));

        unset($this->objects[$hash]);
    }
366375
public function remove($id)
    {
        if ($this->has($id) === false) {
            return;
        }

        $collection = $this->idCollections[$id];

        unset($this->idCollections[$id]);
        unset($this->itemCollections[$collection]);
        unset($this->items[$id]);
    }
1131566
public function remove( $item ) {

			for ( $i=0; $i<$this->len; $i++ ) {

				if ( $this->compare( $item, $this->items[$i] ) === 0 ) {
					
					$this->undecorate( $this->items[ $i ] );
				
					array_splice( $this->items, $i, 1 );
				
					$this->len--;

					break;
				}

			}

			return $this;

		}
267782
public function remove($key): void
	{
		$this->cachedStorage->remove($key);
		$this->memoryStorage->remove($key);
	}
339988
public function remove($name): void
    {
        if ($this->contains($name) == false) {
            return;
        }

        unset($this->record[$name]);
    }
125382
public function clearPageCache(CacheItemInterface $item = null)
    {
        // Use current item if not provided in arguments
        if (is_null($item)) {
            $item = $this->getCurrentItem();
        }

        // Current item might have returned null
        if (is_null($item)) {
            throw new PageCacheException(__METHOD__ . ' Page cache item can not be detected');
        }

        $this->getItemStorage()->delete($item);
    }
849668
public void removeItem(JQMListItem item) {
        if (item != null) {
            items.remove(item);
            list.remove(item);
        }
    }
474908
public function remove($item)
    {
        foreach ($this->currentList as $index => $candidate) {
            if ($candidate === $item) {
                unset($this->currentList[$index]);
            }
        }
    }
1038729
public function remove( $item )
	{
		$index	= $this->getIndex( $item );
		unset( $this->list[$index] );
		return $this->write();
	}
252783
public function removeItem(OrderingItem $item)
    {
        if ($this->items->contains($item)) {
            $this->items->removeElement($item);
        }
    }
740097
public function remove($element)
    {
        $currentValue = $this->getRawValue();

        if (($key = array_search($element, $currentValue)) !== false) {
            unset($currentValue[$key]);
            $this->setRawValue($currentValue);
        }
    }
1114589
public function remove( $key )
    {
        if ( $this->has( $key ) )
        {
            unset( $this->items[ $key ] );
        }

        $this->updateSessionFile();
    }
947448
public function remove($key, $value)
    {
        if (isset($this->values[$key])) {
            $this->values[$key]->remove($value);
        }
        $this->stateChanged();
    }
273782
public function remove($object)
    {
        $this->hasUnpersistedChanges = true;
        if ($this->addedObjects->contains($object)) {
            $this->addedObjects->detach($object);
        } else {
            $this->removedObjects->attach($object);
        }
    }
585133
public function remove($item)
    {
        if ($item->parent() === $this->parentNode) {
            $this->checkUnlocked($item);
            $item->internalUnsetParent();
            parent::remove($item);
        }

        return $this;
    }