File "UnusualElements.php"
Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/vendor/egulias/email-validator/src/Result/Reason/UnusualElements.php
File size: 503 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Egulias\EmailValidator\Result\Reason;
class UnusualElements implements Reason
{
/**
* @var string $element
*/
private $element;
public function __construct(string $element)
{
$this->element = $element;
}
public function code() : int
{
return 201;
}
public function description() : string
{
return 'Unusual element found, wourld render invalid in majority of cases. Element found: ' . $this->element;
}
}