public function applyUpdates($contentTypeId, array $actions)
    {
        if (empty($actions)) {
            return;
        }

        foreach ($this->getContentIdsByContentTypeId($contentTypeId) as $contentId) {
            foreach ($actions as $action) {
                $action->apply($contentId);
            }
        }
    }
public function applyUpdates($contentTypeId, array $actions)
    {
        if (empty($actions)) {
            return;
        }

        foreach ($this->getContentIdsByContentTypeId($contentTypeId) as $contentId) {
            foreach ($actions as $action) {
                $action->apply($contentId);
            }
        }
    }
public function applyUpdates ( $ contentTypeId , array $ actions ) { if ( empty ( $ actions ) ) { return ; } foreach ( $ this -> getContentIdsByContentTypeId ( $ contentTypeId ) as $ contentId ) { foreach ( $ actions as $ action ) { $ action -> apply ( $ contentId ) ; } } }
Applies all given updates.

@param mixed $contentTypeId
@param \eZ\Publish\Core\Persistence\Legacy\Content\Type\ContentUpdater\Action[] $actions
Applies all given updates .