original_string: public function getResource($idx = 0)
      {
          if (null === $this->results || $idx >= \count($this->results)) {
              return null;
          }
  
          return $this->results[$idx];
      }
code: public function getResource($idx = 0)
      {
          if (null === $this->results || $idx >= \count($this->results)) {
              return null;
          }
  
          return $this->results[$idx];
      }
code_tokens: public function getResource ( $ idx = 0 ) { if ( null === $ this -> results || $ idx >= \ count ( $ this -> results ) ) { return null ; } return $ this -> results [ $ idx ] ; }
docstring: Returns a LDAP search resource. If this query resulted in multiple searches, only the first
  page will be returned.
  
  @return resource
  
  @internal
docstring_tokens: Returns a LDAP search resource . If this query resulted in multiple searches only the first page will be returned .