JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "ReferenceHasNotBeenSnapshotted.php"
Full Path: /home/palsarh/web/palsarh.in/public_html/vendor/kreait/firebase-php/src/Firebase/Exception/Database/ReferenceHasNotBeenSnapshotted.php
File size: 875 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
declare(strict_types=1);
namespace Kreait\Firebase\Exception\Database;
use Kreait\Firebase\Database\Reference;
use Kreait\Firebase\Exception\DatabaseException;
use Kreait\Firebase\Exception\RuntimeException;
use Throwable;
use function trim;
final class ReferenceHasNotBeenSnapshotted extends RuntimeException implements DatabaseException
{
private readonly Reference $reference;
public function __construct(Reference $query, string $message = '', int $code = 0, ?Throwable $previous = null)
{
$message = trim($message);
if ($message === '') {
$message = "The reference {$query->getPath()} has not been snapshotted.";
}
parent::__construct($message, $code, $previous);
$this->reference = $query;
}
public function getReference(): Reference
{
return $this->reference;
}
}