Вход Регистрация
Файл: vendor/egulias/email-validator/src/Result/Reason/ExceptionFound.php
Строк: 26
<?php

namespace EguliasEmailValidatorResultReason;

class 
ExceptionFound implements Reason
{
    
/**
     * @var Exception
     */
    
private $exception;

    public function 
__construct(Exception $exception)
    {
        
$this->exception $exception;
        
    }
    public function 
code() : int
    
{
        return 
999;
    }

    public function 
description() : string
    
{
        return 
$this->exception->getMessage();
    }
}
Онлайн: 2
Реклама