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

ICanBoogie / Module / 4270677071

pending completion
4270677071

push

github

Olivier Laviale
Tidy

2 of 2 new or added lines in 2 files covered. (100.0%)

73 of 415 relevant lines covered (17.59%)

0.68 hits per line

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

0.0
/lib/Module/ModuleProvider.php
1
<?php
2

3
namespace ICanBoogie\Module;
4

5
use ICanBoogie\Module;
6
use IteratorAggregate;
7

8
/**
9
 * @extends IteratorAggregate<string, (callable(): Module)>
10
 */
11
interface ModuleProvider extends IteratorAggregate
12
{
13
    /**
14
     * @template T of Module
15
     *
16
     * @param string $id
17
     *     A module identifier.
18
     * @param class-string<T> $class
19
     *     Optional type checking.
20
     *
21
     * @return T
22
     */
23
    public function module_for_id(string $id, string $class = Module::class): Module;
×
24

25
    /**
26
     * @param string $id
27
     *     A module identifier.
28
     */
29
    public function has_module(string $id): bool;
30
}
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