for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Version\Exception;
use DomainException;
/**
* @author Nikola Posa <[email protected]>
*/
class InvalidCompositeConstraintException extends DomainException implements ExceptionInterface
{
public static function forType(string $type) : self
return new self(sprintf('Unsupported type: %s', $type));
}