• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CPS-IT / handlebars-forms / 23538427258

25 Mar 2026 11:21AM UTC coverage: 0.728% (-0.03%) from 0.756%
23538427258

push

github

web-flow
Merge pull request #16 from CPS-IT/feature/fluid-proxy

0 of 37 new or added lines in 3 files covered. (0.0%)

1 existing line in 1 file now uncovered.

7 of 962 relevant lines covered (0.73%)

0.03 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/Classes/ContentObject/PassthroughContentObject.php
1
<?php
2

3
declare(strict_types=1);
4

5
/*
6
 * This file is part of the TYPO3 CMS extension "handlebars_forms".
7
 *
8
 * It is free software; you can redistribute it and/or modify it under
9
 * the terms of the GNU General Public License, either version 2
10
 * of the License, or any later version.
11
 *
12
 * For the full copyright and license information, please read the
13
 * LICENSE.txt file that was distributed with this source code.
14
 *
15
 * The TYPO3 project - inspiring people to share!
16
 */
17

18
namespace CPSIT\Typo3HandlebarsForms\ContentObject;
19

20
use CPSIT\Typo3HandlebarsForms\Domain;
21
use DevTheorem\Handlebars;
22
use Symfony\Component\DependencyInjection;
23

24
/**
25
 * PassthroughContentObject
26
 *
27
 * @author Elias Häußler <e.haeussler@familie-redlich.de>
28
 * @license GPL-2.0-or-later
29
 */
30
#[DependencyInjection\Attribute\AutoconfigureTag('frontend.contentobject', ['identifier' => 'HBS_PASSTHROUGH'])]
31
final class PassthroughContentObject extends AbstractHandlebarsFormsContentObject
32
{
NEW
33
    public function __construct(
×
34
        private readonly Domain\Renderer\FluidRenderableRenderer $fluidRenderer,
NEW
35
    ) {}
×
36

NEW
37
    protected function resolve(array $configuration, Context\ValueResolutionContext $context): Handlebars\SafeString
×
38
    {
NEW
39
        $renderedPartial = $this->fluidRenderer->render($context->renderable, $context->formRuntime);
×
40

NEW
41
        return new Handlebars\SafeString($renderedPartial);
×
42
    }
43
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc