src/Caches/Drivers/PDODriver.php
public function prolong($key, $lifetime)
    {
        $item = $this->find($key);

        if (!is_null($item)) {
            $lifetime = $item['lifetime'] + $lifetime;

            $this->put($key, $item['value'], $lifetime, true);
        }
    }
public function prolong($key, $lifetime)
    {
        $item = $this->find($key);

        if (!is_null($item)) {
            $lifetime = $item['lifetime'] + $lifetime;

            $this->put($key, $item['value'], $lifetime, true);
        }
    }
public function prolong ( $ key , $ lifetime ) { $ item = $ this -> find ( $ key ) ; if ( ! is_null ( $ item ) ) { $ lifetime = $ item [ 'lifetime' ] + $ lifetime ; $ this -> put ( $ key , $ item [ 'value' ] , $ lifetime , true ) ; } }
Prolong a lifetime of cache item.

@param string $key
@param int    $lifetime

@return bool
Prolong a lifetime of cache item .