Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![GitHub branch check runs](https://img.shields.io/github/check-runs/yannelli/schematic/main?style=for-the-badge) ![Packagist Version](https://img.shields.io/packagist/v/yannelli/schematic?style=for-the-badge)
![GitHub branch check runs](https://img.shields.io/github/check-runs/yannelli/schematic/main?style=flat-square) ![Packagist Version](https://img.shields.io/packagist/v/yannelli/schematic?style=flat-square)

# Schematic

Expand Down
12 changes: 11 additions & 1 deletion src/SchematicServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

namespace Yannelli\Schematic;

use Illuminate\Contracts\Support\DeferrableProvider;
use Illuminate\Support\ServiceProvider;

class SchematicServiceProvider extends ServiceProvider
class SchematicServiceProvider extends ServiceProvider implements DeferrableProvider
{
public function register(): void
{
Expand All @@ -29,4 +30,13 @@ public function boot(): void
], 'schematic-config');
}
}

/** @return array<int, string> */
public function provides(): array
{
return [
Compiler::class,
Schematic::class,
];
}
}
Loading