Skip to content

Commit c28f52c

Browse files
committed
Possibility to add custom templates when [make] command
1 parent b797729 commit c28f52c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Generator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ public function generateController(string $controllerClassName, string $controll
264264
*/
265265
public function generateTemplate(string $targetPath, string $templateName, array $variables = [])
266266
{
267-
$templatePath = 'templates/bundles/MakerBundle/' . $templateName;
267+
$templatePath = 'templates/bundles/MakerBundle/'.$templateName;
268268
if ($this->fileManager->fileExists($templatePath)) {
269269
$templateName = $templatePath;
270270
}

0 commit comments

Comments
 (0)