OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
firebase
/
vendor
/
kreait
/
firebase-php
/
src
/
Firebase
/
Contract
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/12/2024 10:35:39 AM
rwxr-xr-x
📄
Auth.php
17.17 KB
08/12/2024 10:35:37 AM
rw-r--r--
📄
Database.php
1.99 KB
08/12/2024 10:35:37 AM
rw-r--r--
📄
DynamicLinks.php
2.06 KB
08/12/2024 10:35:37 AM
rw-r--r--
📄
Firestore.php
200 bytes
08/12/2024 10:35:37 AM
rw-r--r--
📄
Messaging.php
4.36 KB
08/12/2024 10:35:37 AM
rw-r--r--
📄
RemoteConfig.php
2.18 KB
08/12/2024 10:35:37 AM
rw-r--r--
📄
Storage.php
298 bytes
08/12/2024 10:35:37 AM
rw-r--r--
Editing: Database.php
Close
<?php declare(strict_types=1); namespace Kreait\Firebase\Contract; use Kreait\Firebase\Database\Reference; use Kreait\Firebase\Database\RuleSet; use Kreait\Firebase\Exception\DatabaseException; use Kreait\Firebase\Exception\InvalidArgumentException; use Kreait\Firebase\Exception\OutOfRangeException; use Psr\Http\Message\UriInterface; /** * The Firebase Realtime Database. * * @see https://firebase.google.com/docs/reference/js/firebase.database.Database */ interface Database { /** * Returns a Reference to the root or the specified path. * * @see https://firebase.google.com/docs/reference/js/firebase.database.Database#ref * * @throws InvalidArgumentException */ public function getReference(?string $path = null): Reference; /** * Returns a reference to the root or the path specified in url. * * @see https://firebase.google.com/docs/reference/js/firebase.database.Database#refFromURL * * @param string|UriInterface $uri * * @throws InvalidArgumentException If the URL is invalid * @throws OutOfRangeException If the URL is not in the same domain as the current database */ public function getReferenceFromUrl($uri): Reference; /** * Retrieve Firebase Database Rules. * * @see https://firebase.google.com/docs/database/rest/app-management#retrieving-firebase-realtime-database-rules * * @throws DatabaseException */ public function getRuleSet(): RuleSet; /** * Update Firebase Database Rules. * * @see https://firebase.google.com/docs/database/rest/app-management#updating-firebase-realtime-database-rules * * @throws DatabaseException */ public function updateRules(RuleSet $ruleSet): void; /** * @param callable(\Kreait\Firebase\Database\Transaction $transaction):mixed $callable * * @return mixed */ public function runTransaction(callable $callable); }