vendor/symfony/templating/Helper/HelperInterface.php line 14

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the Symfony package.
  4.  *
  5.  * (c) Fabien Potencier <[email protected]>
  6.  *
  7.  * For the full copyright and license information, please view the LICENSE
  8.  * file that was distributed with this source code.
  9.  */
  10. namespace Symfony\Component\Templating\Helper;
  11. trigger_deprecation('symfony/templating''6.4''"%s" is deprecated since version 6.4 and will be removed in 7.0. Use Twig instead.'HelperInterface::class);
  12. /**
  13.  * HelperInterface is the interface all helpers must implement.
  14.  *
  15.  * @author Fabien Potencier <[email protected]>
  16.  *
  17.  * @deprecated since Symfony 6.4, use Twig instead
  18.  */
  19. interface HelperInterface
  20. {
  21.     /**
  22.      * Returns the canonical name of this helper.
  23.      *
  24.      * @return string
  25.      */
  26.     public function getName();
  27.     /**
  28.      * Sets the default charset.
  29.      *
  30.      * @return void
  31.      */
  32.     public function setCharset(string $charset);
  33.     /**
  34.      * Gets the default charset.
  35.      */
  36.     public function getCharset(): string;
  37. }