mirror of
https://github.com/anthonyaxenov/atol-online.git
synced 2024-09-27 15:57:27 +00:00
AnthonyAxenov
8b79b2be51
- `Ffd105Tags::CLIENT_CONTACTS` => `CLIENT_PHONE_EMAIL` + мелочи по `Client`, `ClientTest` и `PayingAgentTest`
26 lines
884 B
PHP
26 lines
884 B
PHP
<?php
|
||
/*
|
||
* Copyright (c) 2020-2021 Антон Аксенов (Anthony Axenov)
|
||
*
|
||
* This code is licensed under MIT.
|
||
* Этот код распространяется по лицензии MIT.
|
||
* https://github.com/anthonyaxenov/atol-online/blob/master/LICENSE
|
||
*/
|
||
|
||
declare(strict_types = 1);
|
||
|
||
namespace AtolOnline\Exceptions;
|
||
|
||
use AtolOnline\Constants\Constraints;
|
||
use AtolOnline\Constants\Ffd105Tags;
|
||
|
||
/**
|
||
* Исключение, возникающее при попытке указать слишком длинный телефон или email покупателя
|
||
*/
|
||
class TooLongClientContactException extends TooLongException
|
||
{
|
||
protected $message = 'Cлишком длинный телефон или email покупателя';
|
||
protected float $max = Constraints::MAX_LENGTH_CLIENT_CONTACT;
|
||
protected array $ffd_tags = [Ffd105Tags::CLIENT_PHONE_EMAIL];
|
||
}
|