|
@@ 44-47 (lines=4) @@
|
| 41 |
|
$this->output->writeln('<info>Created directory: <comment>' . $moduleDir . '/etc<comment></info>'); |
| 42 |
|
|
| 43 |
|
// Add blocks folder |
| 44 |
|
if ($config->getBool('shouldAddBlocks')) { |
| 45 |
|
mkdir($moduleDir . '/Block'); |
| 46 |
|
$this->output->writeln('<info>Created directory: <comment>' . $moduleDir . '/Block' . '<comment></info>'); |
| 47 |
|
} |
| 48 |
|
|
| 49 |
|
// Add helpers folder |
| 50 |
|
if ($config->getBool('shouldAddHelpers')) { |
|
@@ 50-53 (lines=4) @@
|
| 47 |
|
} |
| 48 |
|
|
| 49 |
|
// Add helpers folder |
| 50 |
|
if ($config->getBool('shouldAddHelpers')) { |
| 51 |
|
mkdir($moduleDir . '/Helper'); |
| 52 |
|
$this->output->writeln('<info>Created directory: <comment>' . $moduleDir . '/Helper' . '<comment></info>'); |
| 53 |
|
} |
| 54 |
|
|
| 55 |
|
// Add models folder |
| 56 |
|
if ($config->getBool('shouldAddModels')) { |
|
@@ 56-59 (lines=4) @@
|
| 53 |
|
} |
| 54 |
|
|
| 55 |
|
// Add models folder |
| 56 |
|
if ($config->getBool('shouldAddModels')) { |
| 57 |
|
mkdir($moduleDir . '/Model'); |
| 58 |
|
$this->output->writeln('<info>Created directory: <comment>' . $moduleDir . '/Model' . '<comment></info>'); |
| 59 |
|
} |
| 60 |
|
|
| 61 |
|
// Create SQL and Data folder |
| 62 |
|
if ($config->getBool('shouldAddSetup')) { |