for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Stratadox\Hydration\Mapping\Property\Relationship;
use RuntimeException;
use function sprintf;
use Stratadox\Hydration\UnmappableInput;
final class NoReferrerFound extends RuntimeException implements UnmappableInput
{
public static function tryingToHydrateBackReferenceIn(string $property) : self
return new self(sprintf(
'Failed to reference back to the `%s` relationship: no referrer found.',
$property
));
}