You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
engelsystem/src/Renderer/EngineInterface.php

22 lines
342 B
PHP

<?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);
}