404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@18.216.78.112: ~ $
<?php

namespace Egulias\EmailValidator\Result;

use Egulias\EmailValidator\Result\Reason\Reason;

class InvalidEmail implements Result
{
    /**
     * @var string
     */
    private string $token;

    /**
     * @var Reason
     */
    protected Reason $reason;

    public function __construct(Reason $reason, string $token)
    {
        $this->token = $token;
        $this->reason = $reason;
    }

    public function isValid(): bool
    {
        return false;
    }

    public function isInvalid(): bool
    {
        return true;
    }

    public function description(): string
    {
        return $this->reason->description() . " in char " . $this->token;
    }

    public function code(): int
    {
        return $this->reason->code();
    }

    public function reason(): Reason
    {
        return $this->reason;
    }
}

Filemanager

Name Type Size Permission Actions
Reason Folder 0755
InvalidEmail.php File 843 B 0644
MultipleErrors.php File 1.04 KB 0644
Result.php File 500 B 0644
SpoofEmail.php File 306 B 0644
ValidEmail.php File 379 B 0644