Skip to content

Commit 85804ef

Browse files
authored
Merge pull request #2102 from alissn/PluralUpperName
Add `PLURAL_UPPER_NAME` to Module Creation Replacement Variables
2 parents 367aa66 + 4999c97 commit 85804ef

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Generators/ModuleGenerator.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,14 @@ protected function getPluralStudlyNameReplacement(): string
584584
return Str::of($this->getName())->pluralStudly();
585585
}
586586

587+
/**
588+
* Get the module name in plural upper case.
589+
*/
590+
protected function getPluralUpperNameReplacement(): string
591+
{
592+
return Str::of($this->getName())->upper()->plural();
593+
}
594+
587595
/**
588596
* Get replacement for $VENDOR$.
589597
*/

0 commit comments

Comments
 (0)