404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.135.201.101: ~ $
<?php

declare(strict_types=1);

namespace Kreait\Firebase\Value;

use Kreait\Firebase\Exception\InvalidArgumentException;
use Stringable;

use const FILTER_VALIDATE_EMAIL;

use function filter_var;

/**
 * @internal
 */
final class Email
{
    /** @var non-empty-string */
    public readonly string $value;

    private function __construct(string $value)
    {
        if ($value === '' || !filter_var($value, FILTER_VALIDATE_EMAIL)) {
            throw new InvalidArgumentException('The email address is invalid.');
        }

        $this->value = $value;
    }

    public static function fromString(Stringable|string $value): self
    {
        return new self((string) $value);
    }
}

Filemanager

Name Type Size Permission Actions
ClearTextPassword.php File 677 B 0644
Email.php File 695 B 0644
Uid.php File 671 B 0644
Url.php File 958 B 0644