chore: complete update
This commit is contained in:
15
src/Framework/Console/ConsoleCommand.php
Normal file
15
src/Framework/Console/ConsoleCommand.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Framework\Console;
|
||||
|
||||
use Attribute;
|
||||
|
||||
#[Attribute(\Attribute::TARGET_METHOD)]
|
||||
final readonly class ConsoleCommand
|
||||
{
|
||||
public function __construct(
|
||||
public string $name,
|
||||
public string $description = ''
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user