protected function generateDependencyData($cache)
    {
        $timestamps = $this->getTimestamps($cache, (array) $this->tags);

        $newKeys = [];
        foreach ($timestamps as $key => $timestamp) {
            if ($timestamp === false) {
                $newKeys[] = $key;
            }
        }
        if (!empty($newKeys)) {
            $timestamps = array_merge($timestamps, $this->touchKeys($cache, $newKeys));
        }

        return $timestamps;
    }
protected function generateDependencyData($cache)
    {
        $timestamps = $this->getTimestamps($cache, (array) $this->tags);

        $newKeys = [];
        foreach ($timestamps as $key => $timestamp) {
            if ($timestamp === false) {
                $newKeys[] = $key;
            }
        }
        if (!empty($newKeys)) {
            $timestamps = array_merge($timestamps, $this->touchKeys($cache, $newKeys));
        }

        return $timestamps;
    }
protected function generateDependencyData ( $ cache ) { $ timestamps = $ this -> getTimestamps ( $ cache , ( array ) $ this -> tags ) ; $ newKeys = [ ] ; foreach ( $ timestamps as $ key => $ timestamp ) { if ( $ timestamp === false ) { $ newKeys [ ] = $ key ; } } if ( ! empty ( $ newKeys ) ) { $ timestamps = array_merge ( $ timestamps , $ this -> touchKeys ( $ cache , $ newKeys ) ) ; } return $ timestamps ; }
Generates the data needed to determine if dependency has been changed.
This method does nothing in this class.
@param Cache $cache the cache component that is currently evaluating this dependency
@return mixed the data needed to determine if dependency has been changed.
Generates the data needed to determine if dependency has been changed . This method does nothing in this class .