%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/graphicd/public_html/vebto/vendor/kreait/firebase-php/src/Firebase/
Upload File :
Create Path :
Current File : /home/graphicd/public_html/vebto/vendor/kreait/firebase-php/src/Firebase/Firestore.php

<?php

declare(strict_types=1);

namespace Kreait\Firebase;

use Google\Cloud\Firestore\FirestoreClient;

final class Firestore implements Contract\Firestore
{
    /** @var FirestoreClient */
    private $client;

    private function __construct()
    {
    }

    public static function withFirestoreClient(FirestoreClient $firestoreClient): self
    {
        $firestore = new self();
        $firestore->client = $firestoreClient;

        return $firestore;
    }

    public function database(): FirestoreClient
    {
        return $this->client;
    }
}

Zerion Mini Shell 1.0