File manager - Edit - /var/www/payraty/helpdesk/vendor/rector/rector/vendor/rector/rector-generator/src/TemplateFactory.php
Back
<?php declare (strict_types=1); namespace Rector\RectorGenerator; final class TemplateFactory { /** * @param array<string, string> $variables */ public function create(string $content, array $variables) : string { $variableKeys = \array_keys($variables); $variableValues = \array_values($variables); return \str_replace($variableKeys, $variableValues, $content); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings