src/Manager.php
private function getActualLastModifiedTime()
    {
        if (empty($this->objectList)) return;

        foreach ($this->objectList as $object) {
            $modifiedTime = $object->getLastModifiedTimestamp();

            if (!empty($modifiedTime) && $modifiedTime > $this->lastModifiedTime) {
                $this->lastModifiedTime = $modifiedTime;
            }
        }
    }
private function getActualLastModifiedTime()
    {
        if (empty($this->objectList)) return;

        foreach ($this->objectList as $object) {
            $modifiedTime = $object->getLastModifiedTimestamp();

            if (!empty($modifiedTime) && $modifiedTime > $this->lastModifiedTime) {
                $this->lastModifiedTime = $modifiedTime;
            }
        }
    }
private function getActualLastModifiedTime ( ) { if ( empty ( $ this -> objectList ) ) return ; foreach ( $ this -> objectList as $ object ) { $ modifiedTime = $ object -> getLastModifiedTimestamp ( ) ; if ( ! empty ( $ modifiedTime ) && $ modifiedTime > $ this -> lastModifiedTime ) { $ this -> lastModifiedTime = $ modifiedTime ; } } }
Gets actual last modified time of files to see if we need to bust cache
Gets actual last modified time of files to see if we need to bust cache