src/Lib/Twig/Loader.php
public function isFresh($name, $time): bool
    {
        $name = $this->resolveFileName($name);

        return filemtime($name) < $time;
    }
public function isFresh($name, $time): bool
    {
        $name = $this->resolveFileName($name);

        return filemtime($name) < $time;
    }
public function isFresh ( $ name , $ time ) : bool { $ name = $ this -> resolveFileName ( $ name ) ; return filemtime ( $ name ) < $ time ; }
Check if template is still fresh.

@param string $name Template.
@param int    $time Timestamp.

@return bool
Check if template is still fresh .