src/Loader/MapLoader.php
public function isFresh($name, $time) : bool
    {
        if (!$this->exists($name)) {
            throw new LoaderError(sprintf(
                'Unable to find template "%s" from template map',
                $name
            ));
        }

        if (!file_exists($this->map[$name])) {
            throw new LoaderError(sprintf(
                'Unable to open file "%s" from template map',
                $this->map[$name]
            ));
        }

        return filemtime($this->map[$name]) <= $time;
    }
public function isFresh($name, $time) : bool
    {
        if (!$this->exists($name)) {
            throw new LoaderError(sprintf(
                'Unable to find template "%s" from template map',
                $name
            ));
        }

        if (!file_exists($this->map[$name])) {
            throw new LoaderError(sprintf(
                'Unable to open file "%s" from template map',
                $this->map[$name]
            ));
        }

        return filemtime($this->map[$name]) <= $time;
    }
{@inheritDoc}