for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ker0x\Push\Adapter\Fcm\Message\Exception;
class InvalidOptionsException extends AbstractException
{
public static function invalidTimeToLive($value)
return new static(sprintf("Time to live must be between 0 and 2419200. Current value is: %s.", $value));
}
public static function invalidPriority()
return new static("Priority can be either 'normal' or 'high'.");