Skip to content

Commit beb31d3

Browse files
committed
Do not camelize prefix in service provider generator to resolve #24
1 parent 4eb2f2d commit beb31d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/Drupal_8/ServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class ServiceProvider extends BaseGenerator {
2121
*/
2222
protected function interact(InputInterface $input, OutputInterface $output) {
2323
$vars = &$this->collectVars($input, $output, Utils::defaultQuestions());
24-
$vars['class'] = Utils::camelize($vars['name'] . 'ServiceProvider');
24+
$vars['class'] = Utils::camelize($vars['name']) . 'ServiceProvider';
2525
$this->addFile()
2626
->path('src/{class}.php')
2727
->template('d8/service-provider.twig');

0 commit comments

Comments
 (0)