PHP code example of devscast / symfony-hexa-skeleton
1. Go to this page and download the library: Download devscast/symfony-hexa-skeleton library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
devscast / symfony-hexa-skeleton example snippets
diff
--- a/vendor/symfony/ux-twig-component/src/Twig/TwigPreLexer.php 2024-02-29 18:20:59.000000000 +0200
+++ b/vendor/symfony/ux-twig-component/src/Twig/TwigPreLexer.php 2024-05-09 13:37:06.643585125 +0200
@@ -70,6 +70,17 @@
}
}
+ if ($this->consume('{{ "')) {
+ $output .= '{{ "';
+ $output .= $this->consumeUntil('" }}');
+ $this->consume('" }}');
+ $output .= '" }}';
+
+ if ($this->position === $this->length) {
+ break;
+ }
+ }
+
if ($this->consume('{% embed')) {
$inTwigEmbed = true;
$output .= '{% embed';