mirror of
https://github.com/pnx/dotfiles
synced 2026-08-15 08:28:13 +02:00
22 lines
450 B
Twig
22 lines
450 B
Twig
<?php
|
|
|
|
namespace {{ prototype.namespace }};
|
|
|
|
use Illuminate\Console\Attributes\Description;
|
|
use Illuminate\Console\Attributes\Signature;
|
|
use Illuminate\Console\Command;
|
|
|
|
{% for class in prototype.classes %}
|
|
#[Signature('app:{{ class.name | lower }}')]
|
|
#[Description('Command description')]
|
|
class {{ class.name }} extends Command
|
|
{
|
|
/**
|
|
* Execute the console command.
|
|
*/
|
|
public function handle()
|
|
{
|
|
//
|
|
}
|
|
}
|
|
{% endfor %}
|