1234567891011121314151617181920212223242526272829 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Framework\View;
- /**
- * Interface for Template Engine
- */
- interface TemplateEngineInterface
- {
- /**
- * Render template
- *
- * Render the named template in the context of a particular block and with
- * the data provided in $vars.
- *
- * @param \Magento\Framework\View\Element\BlockInterface $block
- * @param string $templateFile
- * @param array $dictionary
- * @return string rendered template
- */
- public function render(
- \Magento\Framework\View\Element\BlockInterface $block,
- $templateFile,
- array $dictionary = []
- );
- }
|