aboutsummaryrefslogtreecommitdiff
path: root/src/phorkie/Renderer/Unknown.php
blob: da593cb05994f2768fdf0d7bec488f677a3ead9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
namespace phorkie;

class Renderer_Unknown
{
    /**
     * Converts the code to HTML
     *
     * @param File        $file File to render
     * @param Tool_Result $res  Tool result to integrate
     *
     * @return string HTML
     */
    public function toHtml(File $file, Tool_Result $res = null)
    {
        return '<div class="alert alert-error">'
            . 'No idea how to display this file'
            . '</div>';
    }
}
?>