private function validateId($id) { $errors = $this->driver->validateId($id); if (count($errors)) { throw new InvalidIdException($id, $errors); } }