public function isFresh(int $timestamp): bool
    {
        if (!$this->maxTimestamp && !empty($this->resources)) {
            $this->maxTimestamp = max(array_map('filemtime', $this->resources));
        }

        return $this->maxTimestamp <= $timestamp;
    }
public function isFresh(int $timestamp): bool
    {
        if (!$this->maxTimestamp && !empty($this->resources)) {
            $this->maxTimestamp = max(array_map('filemtime', $this->resources));
        }

        return $this->maxTimestamp <= $timestamp;
    }
public function isFresh ( int $ timestamp ) : bool { if ( ! $ this -> maxTimestamp && ! empty ( $ this -> resources ) ) { $ this -> maxTimestamp = max ( array_map ( 'filemtime' , $ this -> resources ) ) ; } return $ this -> maxTimestamp <= $ timestamp ; }
Checks the freshness of AOP cache

@return bool Whether or not concrete file is fresh
Checks the freshness of AOP cache