16 lines
286 B
PHP
16 lines
286 B
PHP
<?php
|
|
|
|
namespace Egulias\EmailValidator\Warning;
|
|
|
|
use Egulias\EmailValidator\EmailParser;
|
|
|
|
class EmailTooLong extends Warning
|
|
{
|
|
const CODE = 66;
|
|
|
|
public function __construct()
|
|
{
|
|
$this->message = 'Email is too long, exceeds ' . EmailParser::EMAIL_MAX_LENGTH;
|
|
}
|
|
}
|