mirror of
https://github.com/Mibew/handlebars.php.git
synced 2024-11-15 08:44:12 +03:00
43 lines
1.1 KiB
PHP
43 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* This file is part of Handlebars-php
|
|
*
|
|
* PHP version 5.3
|
|
*
|
|
* @category Xamin
|
|
* @package Handlebars
|
|
* @author Jeff Turcotte <jeff.turcotte@gmail.com>
|
|
* @copyright 2014 Authors
|
|
* @license MIT <http://opensource.org/licenses/MIT>
|
|
* @version GIT: $Id$
|
|
* @link http://xamin.ir
|
|
*/
|
|
|
|
namespace Handlebars;
|
|
|
|
/**
|
|
* Handlebars helper interface
|
|
*
|
|
* @category Xamin
|
|
* @package Handlebars
|
|
* @author Jeff Turcotte <jeff.turcotte@gmail.com>
|
|
* @copyright 2014 Authors
|
|
* @license MIT <http://opensource.org/licenses/MIT>
|
|
* @version Release: @package_version@
|
|
* @link http://xamin.ir
|
|
*/
|
|
interface Helper
|
|
{
|
|
/**
|
|
* Execute the helper
|
|
*
|
|
* @param \Handlebars\Template $template The template instance
|
|
* @param \Handlebars\Context $context The current context
|
|
* @param \Handlebars\Arguments $args The arguments passed the the helper
|
|
* @param string $source The source
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function execute(Template $template, Context $context, $args, $source);
|
|
}
|