File "ManyMiddleNamesException.php"

Full Path: /home/siazco/grocery.siazco.se/wp-content/plugins/swedbank-pay-payments/vendor/adci/full-name-parser/src/Exception/ManyMiddleNamesException.php
File size: 629 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

/**
 * @file
 * Class of ManyMiddleNamesException.
 */

namespace ADCI\FullNameParser\Exception;

/**
 * Exception of many middle names found.
 *
 * @package FullNameParser
 */
class ManyMiddleNamesException extends NameParsingException
{
    /**
     * Default message text.
     *
     * @var string
     */
    const MESSAGE = 'Warning: %s middle names';

    /**
     * {@inheritdoc}
     */
    public function __construct($count = null, $message = null, $code = 0, \Throwable $previous = null)
    {
        $message = sprintf(self::MESSAGE, $count);
        parent::__construct($message, $code, $previous);
    }
}