Class Salient\Sync\Support\SyncEntityProvider

<TEntity is SyncEntityInterface, TProvider is SyncProviderInterface>

final
implements SyncEntityProviderInterface<TEntity>

An interface to a SyncProviderInterface's implementation of sync operations for an SyncEntityInterface class

So you can do this:

<?php
$faculties = $provider->with(Faculty::class)->getList();

or, if a Faculty provider is bound to the current global container:

<?php
$faculties = Faculty::withDefaultProvider()->getList();
Methods