public static function search($searchStr) { $result = Database::query(SQL::searchGyms($searchStr)); return Gym::gymsForResult($result); }