Method | Description | |
---|---|---|
__construct ( |
||
process ( VersionPress\ChangeInfos\ChangeInfo[] $changeInfoList ) : VersionPress\ChangeInfos\ChangeInfo[][] | If both 'post/draft' and 'post/publish' actions exist for the same entity, replace them with one 'post/create' action. |
Method | Description | |
---|---|---|
getChangeInfosByIndicies ( VersionPress\ChangeInfos\ChangeInfo[] $changeInfoList, array $indicies ) : array | Find all changeInfos and group them according to provided indicies in $changeInfoList by VPID | |
removeChangeInfos ( &$changeInfoList, $changeInfos ) | Removes all changeInfos from source changeInfoList | |
replaceChangeInfosCombination ( &$changeInfoList, array $indicies, string $resultAction ) |
public __construct ( |
||
$changeInfoFactory |
public process ( VersionPress\ChangeInfos\ChangeInfo[] $changeInfoList ) : VersionPress\ChangeInfos\ChangeInfo[][] | ||
$changeInfoList | VersionPress\ChangeInfos\ChangeInfo[] | |
return | VersionPress\ChangeInfos\ChangeInfo[][] |