public function load($key)
    {
        $data = $this->adapter->getItem($key, $success);

        if ($success && $this->automaticSerialization) {
            $data = unserialize($data);
            
            if ($data === false) {
                $this->remove($key);
            }
        }

        return $data;
    }
public function load($key)
    {
        $data = $this->adapter->getItem($key, $success);

        if ($success && $this->automaticSerialization) {
            $data = unserialize($data);
            
            if ($data === false) {
                $this->remove($key);
            }
        }

        return $data;
    }
public function load ( $ key ) { $ data = $ this -> adapter -> getItem ( $ key , $ success ) ; if ( $ success && $ this -> automaticSerialization ) { $ data = unserialize ( $ data ) ; if ( $ data === false ) { $ this -> remove ( $ key ) ; } } return $ data ; }
Get an item

@param  string $key
@return mixed Data on success and false on failure
@throws \Zend\Cache\Exception
Get an item