original_string: protected function initConnectionData()
      {
          if ($this->connectionData) {
              return;
          }
  
          if (!$this->connectionUrl) {
              throw new \UnexpectedValueException(
                  'Expected a connectionUrl, got nowt.'
              );
          }
  
          $parsed = parse_url($this->connectionUrl);
          if ($parsed === false) {
              throw new UnexpectedValueException(
                  'Expected a sensible connectionUrl, got nowt but rubbish.'
              );
          }
          $this->connectionData = $parsed;
      }
code: protected function initConnectionData()
      {
          if ($this->connectionData) {
              return;
          }
  
          if (!$this->connectionUrl) {
              throw new \UnexpectedValueException(
                  'Expected a connectionUrl, got nowt.'
              );
          }
  
          $parsed = parse_url($this->connectionUrl);
          if ($parsed === false) {
              throw new UnexpectedValueException(
                  'Expected a sensible connectionUrl, got nowt but rubbish.'
              );
          }
          $this->connectionData = $parsed;
      }
code_tokens: protected function initConnectionData ( ) { if ( $ this -> connectionData ) { return ; } if ( ! $ this -> connectionUrl ) { throw new \ UnexpectedValueException ( 'Expected a connectionUrl, got nowt.' ) ; } $ parsed = parse_url ( $ this -> connectionUrl ) ; if ( $ parsed === false ) { throw new UnexpectedValueException ( 'Expected a sensible connectionUrl, got nowt but rubbish.' ) ; } $ this -> connectionData = $ parsed ; }
docstring: Parse a connection url and populate connectionData with the result.
  
  @throws \UnexpectedValueException
docstring_tokens: Parse a connection url and populate connectionData with the result .