| 1 | <?php |
| 2 | namespace MailPoetVendor\Doctrine\Common\Proxy\Exception; |
| 3 | if (!defined('ABSPATH')) exit; |
| 4 | use OutOfBoundsException as BaseOutOfBoundsException; |
| 5 | use function sprintf; |
| 6 | class OutOfBoundsException extends BaseOutOfBoundsException implements ProxyException |
| 7 | { |
| 8 | public static function missingPrimaryKeyValue($className, $idField) |
| 9 | { |
| 10 | return new self(sprintf('Missing value for primary key %s on %s', $idField, $className)); |
| 11 | } |
| 12 | } |
| 13 |