메소드 | 설명 | |
---|---|---|
__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. |
메소드 | 설명 | |
---|---|---|
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[] | |
리턴 | VersionPress\ChangeInfos\ChangeInfo[][] |