for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace Kepawni\Twilted\Basic\TestSample;
use Kepawni\Twilted\Basic\SimpleCommandHandler;
use Kepawni\Twilted\EntityIdentifier;
class SimpleCommandHandlerImpl extends SimpleCommandHandler
{
public function discontinueProduct(EntityIdentifier $id)
$product = $this->loadFromRepository($id);
// $product->discontinue();
$this->saveToRepository($product);
}