protected function buildBlockItem(array $row)
{
return new Item(array('blockId' => $row['block_id'], 'contentId' => (int) $row['object_id'], 'locationId' => (int) $row['node_id'], 'priority' => (int) $row['priority'], 'publicationDate' => new DateTime("@{$row['ts_publication']}"), 'visibilityDate' => $row['ts_visible'] ? new DateTime("@{$row['ts_visible']}") : null, 'hiddenDate' => $row['ts_hidden'] ? new DateTime("@{$row['ts_hidden']}") : null, 'rotationUntilDate' => $row['rotation_until'] ? new DateTime("@{$row['rotation_until']}") : null, 'movedTo' => $row['moved_to']));
}