changeInfoRepresentsEntity() public static method

public static changeInfoRepresentsEntity ( $changeInfo, $entityName )
 /**
  * Find all changeInfos and group them according to provided indicies in $changeInfoList by VPID
  * @param ChangeInfo[] $changeInfoList
  * @param array $indicies
  * @return array
  */
 private function getChangeInfosByIndicies($changeInfoList, $indicies)
 {
     $entities = [];
     foreach ($changeInfoList as $key => $changeInfo) {
         /** @var EntityChangeInfo $changeInfo */
         if (ChangeInfoUtils::changeInfoRepresentsEntity($changeInfo, 'post') && in_array($changeInfo->getAction(), $indicies)) {
             $entities[$changeInfo->getId()][$changeInfo->getAction()][] = $key;
         }
     }
     return $entities;
 }
 private function containsTermChangeInfo($changeInfoList)
 {
     return ArrayUtils::any($changeInfoList, function ($changeInfo) {
         return ChangeInfoUtils::changeInfoRepresentsEntity($changeInfo, 'term');
     });
 }