You've already forked Php-Template
All checks were successful
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 1m13s
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 1m24s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 1m58s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 2m20s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 2m5s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 1m0s
Reviewed-on: #27 Co-authored-by: Ron Rise <ron@siteworxpro.com> Co-committed-by: Ron Rise <ron@siteworxpro.com>
23 lines
383 B
PHP
23 lines
383 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Siteworxpro\App\Attributes\CommandBus;
|
|
|
|
use Attribute;
|
|
|
|
/**
|
|
* Class HandlesCommand
|
|
* @package Siteworxpro\App\Attributes\CommandBus
|
|
*/
|
|
#[Attribute(Attribute::TARGET_CLASS)]
|
|
readonly class HandlesCommand
|
|
{
|
|
/**
|
|
* @param class-string $commandClass
|
|
*/
|
|
public function __construct(public string $commandClass)
|
|
{
|
|
}
|
|
}
|