for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Arcanedev\Gravatar\Exceptions;
use InvalidArgumentException;
/**
* Class InvalidImageRatingException
*
* @package Arcanedev\Gravatar\Exceptions
* @author ARCANEDEV <[email protected]>
*/
class InvalidImageRatingException extends InvalidArgumentException
{
public static function make(string $rating)
return new static(
"Invalid rating '{$rating}' specified, only 'g', 'pg', 'r' or 'x' are supported."
);
}