Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
50.00% covered (danger)
50.00%
2 / 4
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
ApieCommonPluginServiceProvider
50.00% covered (danger)
50.00%
2 / 4
0.00% covered (danger)
0.00%
0 / 1
4.12
0.00% covered (danger)
0.00%
0 / 1
 register
50.00% covered (danger)
50.00%
2 / 4
0.00% covered (danger)
0.00%
0 / 1
4.12
1<?php
2namespace Apie\ApieCommonPlugin;
3
4class ApieCommonPluginServiceProvider extends GeneratedApieCommonPluginServiceProvider
5{
6    public function register(): void
7    {
8        if (!class_exists(AvailableApieObjectProvider::class)) {
9            return;
10        }
11        foreach (AvailableApieObjectProvider::getAvailableServices() as $serviceClass) {
12            $this->app->bind($serviceClass);
13            // TODO: tagmap
14        }
15    }
16}