JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "UpdateOrigin.php"
Full Path: /home/palsarh/web/palsarh.in/public_html/vendor/kreait/firebase-php/src/Firebase/RemoteConfig/UpdateOrigin.php
File size: 841 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
declare(strict_types=1);
namespace Kreait\Firebase\RemoteConfig;
use JsonSerializable;
use Stringable;
final class UpdateOrigin implements JsonSerializable, Stringable
{
public const UNSPECIFIED = 'REMOTE_CONFIG_UPDATE_ORIGIN_UNSPECIFIED';
public const CONSOLE = 'CONSOLE';
public const REST_API = 'REST_API';
private function __construct(private readonly string $value)
{
}
public function __toString(): string
{
return $this->value;
}
public static function fromValue(string $value): self
{
return new self($value);
}
public function jsonSerialize(): string
{
return $this->value;
}
/**
* @param self|string $other
*/
public function equalsTo($other): bool
{
return $this->value === (string) $other;
}
}