diff --git a/src/Extension/TwigPrintExtension.php b/src/Extension/TwigPrintExtension.php index 86236f4..4bcf700 100644 --- a/src/Extension/TwigPrintExtension.php +++ b/src/Extension/TwigPrintExtension.php @@ -28,8 +28,6 @@ public function getFunctions(): array 'echo_endfor' => new TwigFunction('echo_endfor' , $this->getEchoEndFor(...), $options), 'echo_raw' => new TwigFunction('echo_raw' , $this->getEchoRaw(...), $options), 'echo_endraw' => new TwigFunction('echo_endraw' , $this->getEchoEndRaw(...), $options), - 'echo_spaceless' => new TwigFunction('echo_spaceless' , $this->getEchoSpaceless(...), $options), - 'echo_endspaceless' => new TwigFunction('echo_endspaceless', $this->getEchoEndSpaceless(...), $options), 'echo_extends' => new TwigFunction('echo_extends' , $this->getEchoExtends(...), $options), 'echo_if' => new TwigFunction('echo_if' , $this->getEchoIf(...), $options), 'echo_else' => new TwigFunction('echo_else' , $this->getEchoElse(...), $options), @@ -223,22 +221,6 @@ public function getEchoEndRaw(): string return '{% endraw %}'; } - /** - * Print "spaceless" tag - */ - public function getEchoSpaceless(): string - { - return '{% apply spaceless %}'; - } - - /** - * Print "endspaceless" tag - */ - public function getEchoEndSpaceless(): string - { - return '{% endapply %}'; - } - /** * Converts an array to a twig array expression (string). * Only in case a value contains '{{' and '}}' the value won't be