OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
firebase
/
vendor
/
kreait
/
firebase-php
/
src
/
Firebase
/
RemoteConfig
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/12/2024 10:35:39 AM
rwxr-xr-x
📄
ApiClient.php
3.92 KB
08/12/2024 10:35:39 AM
rw-r--r--
📄
Condition.php
1.98 KB
08/12/2024 10:35:39 AM
rw-r--r--
📄
ConditionalValue.php
1.17 KB
08/12/2024 10:35:39 AM
rw-r--r--
📄
DefaultValue.php
1.23 KB
08/12/2024 10:35:39 AM
rw-r--r--
📄
FindVersions.php
2.96 KB
08/12/2024 10:35:39 AM
rw-r--r--
📄
Parameter.php
3.63 KB
08/12/2024 10:35:39 AM
rw-r--r--
📄
ParameterGroup.php
1.41 KB
08/12/2024 10:35:39 AM
rw-r--r--
📄
TagColor.php
1.41 KB
08/12/2024 10:35:39 AM
rw-r--r--
📄
Template.php
5.92 KB
08/12/2024 10:35:39 AM
rw-r--r--
📄
UpdateOrigin.php
873 bytes
08/12/2024 10:35:39 AM
rw-r--r--
📄
UpdateType.php
942 bytes
08/12/2024 10:35:39 AM
rw-r--r--
📄
User.php
1.04 KB
08/12/2024 10:35:39 AM
rw-r--r--
📄
Version.php
2.78 KB
08/12/2024 10:35:39 AM
rw-r--r--
📄
VersionNumber.php
1017 bytes
08/12/2024 10:35:39 AM
rw-r--r--
Editing: VersionNumber.php
Close
<?php declare(strict_types=1); namespace Kreait\Firebase\RemoteConfig; use Kreait\Firebase\Exception\InvalidArgumentException; final class VersionNumber implements \JsonSerializable { private string $value; private function __construct(string $value) { $this->value = $value; } /** * @param int|string $value */ public static function fromValue($value): self { $valueString = (string) $value; if (!\ctype_digit($valueString)) { throw new InvalidArgumentException('A version number should only consist of digits'); } return new self($valueString); } public function __toString() { return $this->value; } public function jsonSerialize(): string { return $this->value; } /** * @param self|string $other */ public function equalsTo($other): bool { return $this->value === (string) $other; } }