AIKEEDO / src /Billing /Application /Commands /DeletePlanCommand.php
Softin Trading
Initial Commit from GitHub.
cf14c12
Raw History Blame Contribute Delete
475 Bytes
<?php
declare(strict_types=1);
namespace Billing\Application\Commands;
use Billing\Application\CommandHandlers\DeletePlanCommandHandler;
use Shared\Domain\ValueObjects\Id;
use Shared\Infrastructure\CommandBus\Attributes\Handler;
#[Handler(DeletePlanCommandHandler::class)]
class DeletePlanCommand
{
public Id $id;
/**
* @param string $id
* @return void
*/
public function __construct(string $id)
{
$this->id = new Id($id);
}
}