PHP Class VersionPress\Synchronizers\SynchronizerFactory

Afficher le fichier Open project: versionpress/versionpress Class Usage Examples

Méthodes publiques

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

Private Methods

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

Method Details

__construct() public méthode

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 méthode

public createSynchronizer ( $entityName ) : Synchronizer
$entityName
Résultat Synchronizer

getSynchronizationSequence() public méthode