original_string: public function search($key)
      {
          $binarySearch = new BinarySearch($this);
          $result = $binarySearch->search($key);
          if (\is_null($result) || $result->getKey() != $key) {
              return null;
              
          }
          return $result;
      }
code: public function search($key)
      {
          $binarySearch = new BinarySearch($this);
          $result = $binarySearch->search($key);
          if (\is_null($result) || $result->getKey() != $key) {
              return null;
              
          }
          return $result;
      }
code_tokens: public function search ( $ key ) { $ binarySearch = new BinarySearch ( $ this ) ; $ result = $ binarySearch -> search ( $ key ) ; if ( \ is_null ( $ result ) || $ result -> getKey ( ) != $ key ) { return null ; } return $ result ; }
docstring: Searches for the container with that key
  
  Returns null if the key wasn't found.
  
  @param string $key Key in the index
  
  @return Result
  @throws ReadDataIndexException
docstring_tokens: Searches for the container with that key