for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Domain\Aggregates\Exception;
/**
* @author Sebastiaan Hilbers <[email protected]>
*/
final class AggregateRootNotFound extends \Exception
{
private $aggregateRootIdentity;
public function __construct($aggregateRootId)
$this->aggregateRootIdentity = $aggregateRootId;
}
public function getAggegateRootIdentity()
return $this->aggregateRootIdentity;