����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 18.188.131.162 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/./bofirmacademy.com/vendor/egulias/email-validator/src/Result/ |
Upload File : |
<?php namespace Egulias\EmailValidator\Result; use Egulias\EmailValidator\Result\Reason\EmptyReason; use Egulias\EmailValidator\Result\Reason\Reason; /** * @psalm-suppress PropertyNotSetInConstructor */ class MultipleErrors extends InvalidEmail { /** * @var Reason[] */ private $reasons = []; public function __construct() { } public function addReason(Reason $reason) : void { $this->reasons[$reason->code()] = $reason; } /** * @return Reason[] */ public function getReasons() : array { return $this->reasons; } public function reason() : Reason { return 0 !== count($this->reasons) ? current($this->reasons) : new EmptyReason(); } public function description() : string { $description = ''; foreach($this->reasons as $reason) { $description .= $reason->description() . PHP_EOL; } return $description; } public function code() : int { return 0; } }