SILENT KILLERPanel

Current Path: > > opt > cloudlinux > alt-php54 > root > usr > share > pear > Symfony > > Component > Templating


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/cloudlinux/alt-php54/root/usr/share/pear/Symfony//Component/Templating

NameTypeSizeLast ModifiedActions
Asset Directory - -
Helper Directory - -
Loader Directory - -
Storage Directory - -
DebuggerInterface.php File 694 bytes December 18 2019 11:22:58.
DelegatingEngine.php File 2835 bytes December 18 2019 11:22:58.
EngineInterface.php File 2229 bytes December 18 2019 11:22:58.
PhpEngine.php File 15737 bytes December 18 2019 11:22:58.
StreamingEngineInterface.php File 1025 bytes December 18 2019 11:22:58.
TemplateNameParser.php File 988 bytes December 18 2019 11:22:58.
TemplateNameParserInterface.php File 811 bytes December 18 2019 11:22:58.
TemplateReference.php File 1917 bytes December 18 2019 11:22:58.
TemplateReferenceInterface.php File 1979 bytes December 18 2019 11:22:58.
autoloader.php File 340 bytes December 18 2019 11:22:58.

Reading File: //opt/cloudlinux/alt-php54/root/usr/share/pear/Symfony//Component/Templating/TemplateNameParser.php

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Templating;

/**
 * TemplateNameParser is the default implementation of TemplateNameParserInterface.
 *
 * This implementation takes everything as the template name
 * and the extension for the engine.
 *
 * @author Fabien Potencier <fabien@symfony.com>
 *
 * @api
 */
class TemplateNameParser implements TemplateNameParserInterface
{
    /**
     * {@inheritdoc}
     *
     * @api
     */
    public function parse($name)
    {
        if ($name instanceof TemplateReferenceInterface) {
            return $name;
        }

        $engine = null;
        if (false !== $pos = strrpos($name, '.')) {
            $engine = substr($name, $pos + 1);
        }

        return new TemplateReference($name, $engine);
    }
}

SILENT KILLER Tool