/** * Delete blocks by their associated id * * @param array $ids * @return boolean */ public function deleteByIds(array $ids) { foreach ($ids as $id) { if (!$this->blockMapper->deleteById($id)) { return false; } } $this->track('Batch removal of %s blocks', count($ids)); return true; }