public static function invalidReference(string $reference)
14
{
15
3
return new static("The reference on the CMSMS message may only contain 1 - 32 alphanumeric characters. Was given '{$reference}'");
16
}
17
18
/**
19
* @param string $originator
20
* @return static
21
*/
22
2
public static function invalidOriginator(string $originator)
23
{
24
2
return new static("The originator on the CMSMS message may only contain 1 - 11 characters. Was given '{$originator}'");
25
}
26
27
/**
28
* @param int $minimum
29
* @param int $maximum
30
* @return static
31
1
*/
32
public static function invalidMultipart(int $minimum, int $maximum)
33
1
{
34
return new static("The number of message parts for sending a multipart message on the CMSMS message may only contain a integer range from 0 to 8. Was given a minimum of '{$minimum}' and maximum of '{$maximum}'");