public static function fetchByRoute(Connection $conn, EdkRoute $route)
 {
     $data = $conn->fetchAssoc('SELECT * FROM `' . EdkTables::REGISTRATION_SETTINGS_TBL . '` WHERE `routeId` = :id', [':id' => $route->getId()]);
     if (false === $data) {
         $item = new EdkRegistrationSettings();
         $item->isNew = true;
     } else {
         $item = self::fromArray($data);
     }
     $item->route = $route;
     return $item;
 }