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

LM-Commons / LmcRbacMvcDeveloperTools / 9228969896

24 May 2024 07:25PM UTC coverage: 0.0%. First build
9228969896

push

github

web-flow
Merge pull request #1 from visto9259/master

Updated for LmcRbacMvc 4.x

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

0 of 107 relevant lines covered (0.0%)

0.0 hits per line

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

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

3
namespace LmcRbacMvcDevTools;
4

5
class ConfigProvider
6
{
NEW
7
    public function __invoke(): array
×
8
    {
NEW
9
        return [
×
NEW
10
            'dependencies' => $this->getDependencies(),
×
NEW
11
            'view_manager' => $this->getViewManagerConfig(),
×
NEW
12
            'laminas-developer-tools' => $this->getLaminasDeveloperToolsConfig(),
×
NEW
13
        ];
×
14
    }
15

NEW
16
    public function getDependencies(): array
×
17
    {
NEW
18
        return [
×
NEW
19
            'factories' => [
×
NEW
20
                \LmcRbacMvc\Collector\RbacCollector::class => \Laminas\ServiceManager\Factory\InvokableFactory::class,
×
NEW
21
            ],
×
NEW
22
        ];
×
23
    }
24

NEW
25
    public function getViewManagerConfig(): array
×
26
    {
NEW
27
        return [
×
NEW
28
            'template_map' => [
×
NEW
29
                'laminas-developer-tools/toolbar/lmc-rbac' => __DIR__ . '/../view/laminas-developer-tools/toolbar/lmc-rbac.phtml'
×
NEW
30
            ]
×
NEW
31
        ];
×
32
    }
33

NEW
34
    public function getLaminasDeveloperToolsConfig(): array
×
35
    {
NEW
36
        return [
×
NEW
37
            'profiler' => [
×
NEW
38
                'collectors' => [
×
NEW
39
                    'lmc_rbac' => \LmcRbacMvc\Collector\RbacCollector::class,
×
NEW
40
                ],
×
NEW
41
            ],
×
NEW
42
            'toolbar' => [
×
NEW
43
                'entries' => [
×
NEW
44
                    'lmc_rbac' => 'laminas-developer-tools/toolbar/lmc-rbac',
×
NEW
45
                ],
×
NEW
46
            ],
×
NEW
47
        ];
×
48
    }
49
}
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