Skip to content

Commit 349c696

Browse files
committed
Extract generate implementation into generateInheritanceCommand method
1 parent 078ce47 commit 349c696

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Maker/MakeCommand.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ public function configureCommand(Command $command, InputConfiguration $inputConf
6363
}
6464

6565
public function generate(InputInterface $input, ConsoleStyle $io, Generator $generator): void
66+
{
67+
$this->generateInheritanceCommand($input, $io, $generator);
68+
}
69+
70+
private function generateInheritanceCommand(InputInterface $input, ConsoleStyle $io, Generator $generator): void
6671
{
6772
$commandName = trim($input->getArgument('name'));
6873
$commandNameHasAppPrefix = str_starts_with($commandName, 'app:');

0 commit comments

Comments
 (0)