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

orchestral / canvas-core / 6314805874

26 Sep 2023 03:18PM UTC coverage: 90.909%. Remained the same
6314805874

push

github

crynobone
wip

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

30 of 33 relevant lines covered (90.91%)

1.06 hits per line

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

100.0
/src/LaravelServiceProvider.php
1
<?php
2

3
namespace Orchestra\Canvas\Core;
4

5
use Illuminate\Contracts\Support\DeferrableProvider;
6
use Illuminate\Support\ServiceProvider;
7

8
class LaravelServiceProvider extends ServiceProvider implements DeferrableProvider
9
{
10
    /**
11
     * Register services.
12
     */
13
    public function register(): void
14
    {
15
        $this->app->singleton(PresetManager::class, fn ($app) => new PresetManager($app));
2✔
16
    }
17

18
    /**
19
     * Get the services provided by the provider.
20
     *
21
     * @return array<int, class-string>
22
     */
23
    public function provides(): array
24
    {
25
        return [
1✔
26
            PresetManager::class,
1✔
27
        ];
1✔
28
    }
29
}
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