PHP Class VersionPress\Synchronizers\SynchronizerFactory

Datei anzeigen Open project: versionpress/versionpress Class Usage Examples

Public Methods

Method Description
__construct ( StorageFactory $storageFactory, Database $database, DbSchemaInfo $dbSchema, VpidRepository $vpidRepository, AbsoluteUrlReplacer $urlReplacer, ShortcodesReplacer $shortcodesReplacer, TableSchemaStorage $tableSchemaStorage )
createSynchronizer ( $entityName ) : Synchronizer
getSynchronizationSequence ( )

Private Methods

Method Description
getStorage ( $synchronizerName )
resolveSynchronizationSequence ( ) : array Determines sequence in which entities should be synchronized.

Method Details

__construct() public method

public __construct ( StorageFactory $storageFactory, Database $database, DbSchemaInfo $dbSchema, VpidRepository $vpidRepository, AbsoluteUrlReplacer $urlReplacer, ShortcodesReplacer $shortcodesReplacer, TableSchemaStorage $tableSchemaStorage )
$storageFactory VersionPress\Storages\StorageFactory
$database VersionPress\Database\Database
$dbSchema VersionPress\Database\DbSchemaInfo
$vpidRepository VersionPress\Database\VpidRepository
$urlReplacer VersionPress\Utils\AbsoluteUrlReplacer
$shortcodesReplacer VersionPress\Database\ShortcodesReplacer
$tableSchemaStorage VersionPress\Database\TableSchemaStorage

createSynchronizer() public method

public createSynchronizer ( $entityName ) : Synchronizer
$entityName
return Synchronizer

getSynchronizationSequence() public method