| 1 |
<?php |
| 2 |
/** |
| 3 |
* @package WPEmerge |
| 4 |
* @author Atanas Angelov <hi@atanas.dev> |
| 5 |
* @copyright 2017-2019 Atanas Angelov |
| 6 |
* @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 |
| 7 |
* @link https://wpemerge.com/ |
| 8 |
*/ |
| 9 |
|
| 10 |
namespace WPEmerge\View; |
| 11 |
|
| 12 |
/** |
| 13 |
* Interface that view engines must implement |
| 14 |
*/ |
| 15 |
interface ViewEngineInterface extends ViewFinderInterface { |
| 16 |
/** |
| 17 |
* Create a view instance from the first view name that exists. |
| 18 |
* |
| 19 |
* @param string[] $views |
| 20 |
* @return ViewInterface |
| 21 |
*/ |
| 22 |
public function make( $views ); |
| 23 |
} |
| 24 |
|