Property | Type | Description | |
---|---|---|---|
$firebaseClient | Firebase\FirebaseInterface | null |
Method | Description | |
---|---|---|
bootSyncsWithFirebase ( ) | Boot the trait and add the model events to synchronize with firebase | |
setFirebaseClient ( Firebase\FirebaseInterface | null $firebaseClient ) |
Method | Description | |
---|---|---|
getFirebaseSyncData ( ) : array | ||
saveToFirebase ( $mode ) |
public static bootSyncsWithFirebase ( ) |
public setFirebaseClient ( Firebase\FirebaseInterface | null $firebaseClient ) | ||
$firebaseClient | Firebase\FirebaseInterface | null |
protected FirebaseInterface,Firebase|null $firebaseClient | ||
return | Firebase\FirebaseInterface | null |