original_string: public function get($name = null)
    {
      if(count($this->connectors) > 0)
      {    
        if(!is_null($name))
        {
          if(!isset($this->connectors[$name]))
            throw new \Exception("unknown Connector: $name");
          
          return $this->connectors[$name];
        }
        
        return current($this->connectors);
      }
      throw new \Exception('No Connectors found');
    }
code: public function get($name = null)
    {
      if(count($this->connectors) > 0)
      {    
        if(!is_null($name))
        {
          if(!isset($this->connectors[$name]))
            throw new \Exception("unknown Connector: $name");
          
          return $this->connectors[$name];
        }
        
        return current($this->connectors);
      }
      throw new \Exception('No Connectors found');
    }
code_tokens: public function get ( $ name = null ) { if ( count ( $ this -> connectors ) > 0 ) { if ( ! is_null ( $ name ) ) { if ( ! isset ( $ this -> connectors [ $ name ] ) ) throw new \ Exception ( "unknown Connector: $name" ) ; return $ this -> connectors [ $ name ] ; } return current ( $ this -> connectors ) ; } throw new \ Exception ( 'No Connectors found' ) ; }
docstring: get an Connector by its name or it will return the default Connector
  @param string $name Index of the chosen Connector
  @return FP\WHMCS\Connector
docstring_tokens: get an Connector by its name or it will return the default Connector