src/Adapters/MemoryStore.php
protected function evict()
    {
        while ($this->size > $this->limit && !empty($this->items)) {
            $item = array_shift($this->items);
            $this->size -= strlen($item[0]);
        }
    }
protected function evict()
    {
        while ($this->size > $this->limit && !empty($this->items)) {
            $item = array_shift($this->items);
            $this->size -= strlen($item[0]);
        }
    }
protected function evict ( ) { while ( $ this -> size > $ this -> limit && ! empty ( $ this -> items ) ) { $ item = array_shift ( $ this -> items ) ; $ this -> size -= strlen ( $ item [ 0 ] ) ; } }
Least recently used cache values will be evicted from cache should
it fill up too much.
Least recently used cache values will be evicted from cache should it fill up too much .