public function load($key, \DateTimeInterface $updatedAt = null)
    {
        $keyGen = $this->generateKey($key);
        $updateDate = $this->cache->load($keyGen);

        if ($updateDate === null || $updateDate != $updatedAt) {
            if ($updateDate) {
                $this->remove($key);
            }
            return null;
        }

        return $this->getFilePath($keyGen);
    }
public function load($key, \DateTimeInterface $updatedAt = null)
    {
        $keyGen = $this->generateKey($key);
        $updateDate = $this->cache->load($keyGen);

        if ($updateDate === null || $updateDate != $updatedAt) {
            if ($updateDate) {
                $this->remove($key);
            }
            return null;
        }

        return $this->getFilePath($keyGen);
    }
public function load ( $ key , \ DateTimeInterface $ updatedAt = null ) { $ keyGen = $ this -> generateKey ( $ key ) ; $ updateDate = $ this -> cache -> load ( $ keyGen ) ; if ( $ updateDate === null || $ updateDate != $ updatedAt ) { if ( $ updateDate ) { $ this -> remove ( $ key ) ; } return null ; } return $ this -> getFilePath ( $ keyGen ) ; }
Loads tempnam file path
@param $key string tempnam key
@param \DateTimeInterface|null $updatedAt When data was last updated
@return null|string path to tempnam
Loads tempnam file path