original_string: public function getProvider()
      {
          if (null === $this->provider) {
              if (0 === count($this->providers)) {
                  throw new \RuntimeException('No provider registered.');
              } else {
                  $this->provider = $this->providers[key($this->providers)];
              }
          }
  
          return $this->provider;
      }
code: public function getProvider()
      {
          if (null === $this->provider) {
              if (0 === count($this->providers)) {
                  throw new \RuntimeException('No provider registered.');
              } else {
                  $this->provider = $this->providers[key($this->providers)];
              }
          }
  
          return $this->provider;
      }
code_tokens: public function getProvider ( ) { if ( null === $ this -> provider ) { if ( 0 === count ( $ this -> providers ) ) { throw new \ RuntimeException ( 'No provider registered.' ) ; } else { $ this -> provider = $ this -> providers [ key ( $ this -> providers ) ] ; } } return $ this -> provider ; }
docstring: Returns the provider to use.
  
  @return \SmsSender\Provider\ProviderInterface
docstring_tokens: Returns the provider to use .