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

ICanBoogie / bind-prototype / 4267975412

pending completion
4267975412

push

github

Olivier Laviale
Use ConfigProvider

1 of 1 new or added line in 1 file covered. (100.0%)

15 of 21 relevant lines covered (71.43%)

0.71 hits per line

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

0.0
/lib/AutoConfig.php
1
<?php
2

3
/*
4
 * This file is part of the ICanBoogie package.
5
 *
6
 * (c) Olivier Laviale <olivier.laviale@gmail.com>
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
namespace ICanBoogie\Binding\Prototype;
13

14
use ICanBoogie\ConfigProvider;
15
use ICanBoogie\Prototype;
16

17
final class AutoConfig
18
{
19
    /**
20
     * Binds prototype configuration.
21
     */
22
    public static function configure(ConfigProvider $config_provider): void
23
    {
24
        Prototype::bind($config_provider->config_for_class(Prototype\Config::class));
×
25
    }
26
}
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