Your ROOT_URL in app.ini is https://code.exacti.com.br/ but you are visiting https://git.exacti.com.br/ExacTI/phacil-framework/src/commit/4a8701ff85bf3104845e30e6ad482cddca8c8489/system/templateEngines/Twig/Api/Extension/TranslateInterface.php You should set ROOT_URL correctly, otherwise the web may not work correctly.
A super easy PHP Framework for web development! https://github.com/exacti/phacil-framework

54 lines
1.1 KiB

<?php
/**
* Copyright © 2024 ExacTI Technology Solutions. All rights reserved.
* GPLv3 General License.
* https://exacti.com.br
* Phacil PHP Framework - https://github.com/exacti/phacil-framework
*/
namespace Phacil\Framework\templateEngines\Twig\Api\Extension;
/**
* Twig translate extension interface
*
* @package Phacil\Framework\templateEngines\Twig\Api\Extension
* @since 2.0.0
*/
interface TranslateInterface {
const TWIG_TAG_INI = 't';
const TWIG_TAG_CLOSE = 'endt';
/**
*
* @return \Twig\TokenParser\TokenParserInterface[]
*/
public function getTokenParsers();
/**
*
* @return string
*/
public function getName();
/**
*
* @return void
* @throws \ReflectionException
* @throws \Exception
* @throws \Phacil\Framework\Exception
* @throws \Phpfastcache\Exceptions\PhpfastcacheInvalidArgumentException
*/
public function traduzir();
/**
*
* @return void
* @throws \ReflectionException
* @throws \Exception
* @throws \Phacil\Framework\Exception
* @throws \Phpfastcache\Exceptions\PhpfastcacheInvalidArgumentException
*/
static public function translate();
}