private function prepareDefaultFilePath(string $file, bool $fileCheck = true): string
    {
        $file = sprintf('%s/app/service/_default/view/%s.php', APP_DIR, $file);
        if ($fileCheck && !file_exists($file)) {
            throw new ViewException("View file '{$file}' not found");
        }

        return $file;
    }