Skip to content

Commit

Permalink
[1.x] Make commands lazy (#96)
Browse files Browse the repository at this point in the history
* Make commands lazy

* Fix soft dependency

* Fix import.
  • Loading branch information
timacdonald authored May 6, 2024
1 parent f2f6463 commit 251d9f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"illuminate/database": "^10.0|^11.0",
"illuminate/queue": "^10.0|^11.0",
"illuminate/support": "^10.0|^11.0",
"symfony/console": "^6.0|^7.0",
"symfony/finder": "^6.0|^7.0"
},
"require-dev": {
Expand Down
2 changes: 2 additions & 0 deletions src/Commands/PurgeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

use Illuminate\Console\Command;
use Laravel\Pennant\FeatureManager;
use Symfony\Component\Console\Attribute\AsCommand;

#[AsCommand(name: 'pennant:purge', aliases: ['pennant:clear'])]
class PurgeCommand extends Command
{
/**
Expand Down

0 comments on commit 251d9f2

Please sign in to comment.