public getChangeInfoList ( ) : |
||
return |
public function getChangeInfoList()
{
return $this->changeInfoList;
}
/** * @param ChangeInfoEnvelope|UntrackedChangeInfo $changeInfo * @param string $fullAction * @return bool * @throws \Exception */ public static function containsAction($changeInfo, $fullAction) { if ($changeInfo instanceof ChangeInfoEnvelope) { $changeInfos = $changeInfo->getChangeInfoList(); foreach ($changeInfos as $ci) { if (self::getFullAction($ci) == $fullAction) { return true; } } return false; } else { throw new \Exception("Only ChangeInfoEnvelopes are supported"); } }