| Total Complexity | 4 | 
| Total Lines | 28 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 9 | class MakeInteractionCommand extends GeneratorCommand | ||
| 10 | { | ||
| 11 | protected $name = 'fondbot:make:interaction'; | ||
| 12 | protected $description = 'Create a new interaction class'; | ||
| 13 | protected $type = 'Interaction'; | ||
| 14 | |||
| 15 |     /** {@inheritdoc} */ | ||
| 16 | protected function getStub(): string | ||
| 17 |     { | ||
| 18 | return __DIR__.'/../../resources/stubs/Interaction.stub'; | ||
| 19 | } | ||
| 20 | |||
| 21 |     /** {@inheritdoc} */ | ||
| 22 | protected function qualifyClass($name): string | ||
| 23 |     { | ||
| 24 | return $name; | ||
| 25 | } | ||
| 26 | |||
| 27 |     /** {@inheritdoc} */ | ||
| 28 | protected function getPath($name): string | ||
| 31 | } | ||
| 32 | |||
| 33 |     /** {@inheritdoc} */ | ||
| 34 | protected function getNamespace($name): string | ||
| 37 | } | ||
| 38 | } | ||
| 39 |