OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
firebase
/
vendor
/
kreait
/
firebase-php
/
src
/
Firebase
/
Value
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/12/2024 10:35:39 AM
rwxr-xr-x
📄
ClearTextPassword.php
853 bytes
08/12/2024 10:35:39 AM
rw-r--r--
📄
Email.php
836 bytes
08/12/2024 10:35:39 AM
rw-r--r--
📄
PhoneNumber.php
1.2 KB
08/12/2024 10:35:39 AM
rw-r--r--
📄
Provider.php
1.18 KB
08/12/2024 10:35:39 AM
rw-r--r--
📄
Uid.php
856 bytes
08/12/2024 10:35:39 AM
rw-r--r--
📄
Url.php
1.55 KB
08/12/2024 10:35:39 AM
rw-r--r--
Editing: Email.php
Close
<?php declare(strict_types=1); namespace Kreait\Firebase\Value; use Kreait\Firebase\Exception\InvalidArgumentException; class Email implements \JsonSerializable { private string $value; /** * @internal */ public function __construct(string $value) { if (!\filter_var($value, FILTER_VALIDATE_EMAIL)) { throw new InvalidArgumentException('The email address is invalid.'); } $this->value = $value; } public function __toString(): string { return $this->value; } public function jsonSerialize(): string { return $this->value; } /** * @param self|string $other */ public function equalsTo($other): bool { return $this->value === (string) $other; } }