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

mimmi20 / laminasviewrenderer-bootstrap-form / 18198455960

02 Oct 2025 03:56PM UTC coverage: 97.361%. Remained the same
18198455960

push

github

web-flow
Merge pull request #479 from mimmi20/dependabot/composer/master/development-dependencies-94f085c423

composer(deps-dev): bump the development-dependencies group with 4 updates

2177 of 2236 relevant lines covered (97.36%)

25.54 hits per line

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

0.0
/src/HelperPluginManagerFactory.php
1
<?php
2

3
/**
4
 * This file is part of the mimmi20/laminasviewrenderer-bootstrap-form package.
5
 *
6
 * Copyright (c) 2021-2025, Thomas Mueller <mimmi20@live.de>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11

12
declare(strict_types = 1);
13

14
namespace Mimmi20\LaminasView\BootstrapForm;
15

16
use Laminas\View\HelperPluginManager;
17
use Psr\Container\ContainerExceptionInterface;
18
use Psr\Container\ContainerInterface;
19

20
use function assert;
21
use function is_array;
22

23
final class HelperPluginManagerFactory
24
{
25
    /**
26
     * Create an instance of the requested class name.
27
     *
28
     * @throws ContainerExceptionInterface
29
     */
30
    public function __invoke(ContainerInterface $container): HelperPluginManager
×
31
    {
32
        $config = $container->get('config');
×
33
        assert(is_array($config));
×
34

35
        return new HelperPluginManager($container, $config['view_helpers'] ?? []);
×
36
    }
37
}
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

© 2025 Coveralls, Inc