private function _deleteById($uniqid) { $entity = new TaskEntity($uniqid); $entity->delete(); $entity->recordDeleted(); }