summaryrefslogtreecommitdiff
path: root/src/Renderer/EngineInterface.php
blob: ca468db5b20c424a65fcf2cf327df2dde34a2978 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

namespace Engelsystem\Renderer;

interface EngineInterface
{
    /**
     * Render a template
     *
     * @param string  $path
     * @param mixed[] $data
     * @return string
     */
    public function get($path, $data = []);

    /**
     * @param string $path
     * @return bool
     */
    public function canRender($path);
}