private function endQuery(SelectInterface $query, $count) {
    $result = $query
      ->range(0, $count)
      ->execute()
      ->fetchCol();

    return !empty($result) ? $result : [];
  }
private function endQuery(SelectInterface $query, $count) {
    $result = $query
      ->range(0, $count)
      ->execute()
      ->fetchCol();

    return !empty($result) ? $result : [];
  }
private function endQuery ( SelectInterface $ query , $ count ) { $ result = $ query -> range ( 0 , $ count ) -> execute ( ) -> fetchCol ( ) ; return ! empty ( $ result ) ? $ result : [ ] ; }
End a Social Profile Mention Query.

@return int[]
An array of account IDs for accounts whose account names begin with the
given string.
End a Social Profile Mention Query .