One Hat Cyber Team
Your IP :
3.142.237.38
Server IP :
104.21.48.1
Server :
Linux agrigation-prod 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64
Server Software :
nginx/1.24.0
PHP Version :
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
forge
/
db.gftag.com
/
libraries
/
classes
/
Twig
/
View File Name :
MessageExtension.php
<?php declare(strict_types=1); namespace PhpMyAdmin\Twig; use PhpMyAdmin\Message; use Twig\Extension\AbstractExtension; use Twig\TwigFilter; class MessageExtension extends AbstractExtension { /** * Returns a list of filters to add to the existing list. * * @return TwigFilter[] */ public function getFilters() { return [ new TwigFilter( 'notice', static function (string $string) { return Message::notice($string)->getDisplay(); }, ['is_safe' => ['html']] ), new TwigFilter( 'error', static function (string $string) { return Message::error($string)->getDisplay(); }, ['is_safe' => ['html']] ), new TwigFilter( 'raw_success', static function (string $string) { return Message::rawSuccess($string)->getDisplay(); }, ['is_safe' => ['html']] ), ]; } }