for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Foundation\Generator\Commands;
use Foundation\Generator\Abstracts\AbstractGeneratorCommand;
final class NotificationMakeCommand extends AbstractGeneratorCommand
{
/**
* The console command name.
*
* @var string
*/
protected $name = 'larapi:make:notification';
* The console command description.
protected $description = 'Create a new notification class for the specified module.';
* The name of the generated resource.
protected $generatorName = 'notification';
* The stub name.
protected $stub = 'notification.stub';
* The file path.
protected $filePath = '/Notifications';
protected function stubOptions(): array
return [
'NAMESPACE' => $this->getClassNamespace(),
'CLASS' => $this->getClassName(),
];
}