src/Viserio/Component/Profiler/AssetsRenderer.php
protected function getModifiedTime(string $type): int
    {
        $files  = $this->getAssets($type);
        $latest = 0;

        foreach ($files as $file) {
            $mtime = (int) \filemtime($file);

            if ($mtime > $latest) {
                $latest = $mtime;
            }
        }

        return $latest;
    }
protected function getModifiedTime(string $type): int
    {
        $files  = $this->getAssets($type);
        $latest = 0;

        foreach ($files as $file) {
            $mtime = (int) \filemtime($file);

            if ($mtime > $latest) {
                $latest = $mtime;
            }
        }

        return $latest;
    }
Get the last modified time of any assets.

@param string $type 'js' or 'css'

@return int