| 1 |
<?php |
| 2 |
/** |
| 3 |
* @package SureCartCore |
| 4 |
* @author SureCart <support@surecart.com> |
| 5 |
* @copyright 2017-2019 SureCart |
| 6 |
* @license https://www.gnu.org/licenses/gpl-2.0.html GPL-2.0 |
| 7 |
* @link https://surecart.com/ |
| 8 |
*/ |
| 9 |
|
| 10 |
namespace SureCartCore\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 |
|