Skip to content

Commit

Permalink
Actually register the command
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusjp committed Oct 27, 2023
1 parent 3c3f787 commit 3f45ba9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/TypedConfigServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,19 @@
namespace Coderg33k\TypedConfigGenerator;

use Coderg33k\TypedConfigGenerator\Actions\GetClassForConfig;
use Coderg33k\TypedConfigGenerator\Console\Commands\GenerateTypedConfig;
use Coderg33k\TypedConfigGenerator\Helper\DoesTypedConfigClassExist;
use Illuminate\Support\ServiceProvider;

final class TypedConfigServiceProvider extends ServiceProvider
{
public function boot(): void
{
$this->commands([
GenerateTypedConfig::class,
]);
}

public function register(): void
{
foreach (\array_keys(config()->all()) as $config) {
Expand Down

0 comments on commit 3f45ba9

Please sign in to comment.