Current Path: > > opt > cloudlinux > alt-php55 > 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 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
Asset | Directory | - | - | |
Helper | Directory | - | - | |
Loader | Directory | - | - | |
Storage | Directory | - | - | |
DebuggerInterface.php | File | 694 bytes | December 18 2019 11:24:07. | |
DelegatingEngine.php | File | 2835 bytes | December 18 2019 11:24:07. | |
EngineInterface.php | File | 2229 bytes | December 18 2019 11:24:07. | |
PhpEngine.php | File | 15737 bytes | December 18 2019 11:24:07. | |
StreamingEngineInterface.php | File | 1025 bytes | December 18 2019 11:24:07. | |
TemplateNameParser.php | File | 988 bytes | December 18 2019 11:24:07. | |
TemplateNameParserInterface.php | File | 811 bytes | December 18 2019 11:24:07. | |
TemplateReference.php | File | 1917 bytes | December 18 2019 11:24:07. | |
TemplateReferenceInterface.php | File | 1979 bytes | December 18 2019 11:24:07. | |
autoloader.php | File | 340 bytes | December 18 2019 11:24:07. |
<?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; /** * Internal representation of a template. * * @author Victor Berchet <victor@suumit.com> * * @api */ class TemplateReference implements TemplateReferenceInterface { protected $parameters; public function __construct($name = null, $engine = null) { $this->parameters = array( 'name' => $name, 'engine' => $engine, ); } /** * {@inheritdoc} */ public function __toString() { return $this->getLogicalName(); } /** * {@inheritdoc} * * @api */ public function set($name, $value) { if (array_key_exists($name, $this->parameters)) { $this->parameters[$name] = $value; } else { throw new \InvalidArgumentException(sprintf('The template does not support the "%s" parameter.', $name)); } return $this; } /** * {@inheritdoc} * * @api */ public function get($name) { if (array_key_exists($name, $this->parameters)) { return $this->parameters[$name]; } throw new \InvalidArgumentException(sprintf('The template does not support the "%s" parameter.', $name)); } /** * {@inheritdoc} * * @api */ public function all() { return $this->parameters; } /** * {@inheritdoc} * * @api */ public function getPath() { return $this->parameters['name']; } /** * {@inheritdoc} * * @api */ public function getLogicalName() { return $this->parameters['name']; } }
SILENT KILLER Tool