for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/******************************************************************************
* Copyright (c) 2016 Constantin Galbenu <[email protected]> *
******************************************************************************/
namespace Gica\Cqrs\Command\ValueObject;
class CommandHandlerDescriptor
{
/**
* @var string
*/
private $handlerClass;
private $methodName;
public function __construct(
string $handlerClass, string $methodName
)
$this->handlerClass = $handlerClass;
$this->methodName = $methodName;
}
* @return string
public function getHandlerClass(): string
return $this->handlerClass;
public function getMethodName(): string
return $this->methodName;