vendor/symfony/src/Symfony/Component/Templating/Helper/HelperInterface.php
changeset 0 7f95f8617b0b
equal deleted inserted replaced
-1:000000000000 0:7f95f8617b0b
       
     1 <?php
       
     2 
       
     3 /*
       
     4  * This file is part of the Symfony package.
       
     5  *
       
     6  * (c) Fabien Potencier <fabien@symfony.com>
       
     7  *
       
     8  * For the full copyright and license information, please view the LICENSE
       
     9  * file that was distributed with this source code.
       
    10  */
       
    11 
       
    12 namespace Symfony\Component\Templating\Helper;
       
    13 
       
    14 /**
       
    15  * HelperInterface is the interface all helpers must implement.
       
    16  *
       
    17  * @author Fabien Potencier <fabien@symfony.com>
       
    18  *
       
    19  * @api
       
    20  */
       
    21 interface HelperInterface
       
    22 {
       
    23     /**
       
    24      * Returns the canonical name of this helper.
       
    25      *
       
    26      * @return string The canonical name
       
    27      *
       
    28      * @api
       
    29      */
       
    30     function getName();
       
    31 
       
    32     /**
       
    33      * Sets the default charset.
       
    34      *
       
    35      * @param string $charset The charset
       
    36      *
       
    37      * @api
       
    38      */
       
    39     function setCharset($charset);
       
    40 
       
    41     /**
       
    42      * Gets the default charset.
       
    43      *
       
    44      * @return string The default charset
       
    45      *
       
    46      * @api
       
    47      */
       
    48     function getCharset();
       
    49 }