Your IP : 3.144.30.14


Current Path : /home/lentoinv/props/vendor/egulias/email-validator/src/Result/Reason/
Upload File :
Current File : /home/lentoinv/props/vendor/egulias/email-validator/src/Result/Reason/UnusualElements.php

<?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;
    }
}

?>