PHP Class VersionPress\Synchronizers\SynchronizationProcess

Mostra file Open project: versionpress/versionpress Class Usage Examples

Public Methods

Method Description
__construct ( SynchronizerFactory $synchronizerFactory )
synchronize ( array $vpidsToSynchronize ) Runs synchronization for managed entities.
synchronizeAll ( ) Runs synchronization for all managed entities.

Private Methods

Method Description
runSynchronizationTasks ( array $synchronizationTasks )

Method Details

__construct() public method

public __construct ( SynchronizerFactory $synchronizerFactory )
$synchronizerFactory SynchronizerFactory

synchronize() public method

Runs synchronization for managed entities.
public synchronize ( array $vpidsToSynchronize )
$vpidsToSynchronize array List of VPIDS of entities which will be synchronized.

synchronizeAll() public method

Runs synchronization for all managed entities.
public synchronizeAll ( )