original_string: public function getProvider($name)
      {
          if (isset($this->_providers[$name])) {
              return $this->_providers[$name];
          }
          if ($name !== 'default') {
              return null;
          }
  
          $this->_providers[$name] = new RulesProvider();
  
          return $this->_providers[$name];
      }
code: public function getProvider($name)
      {
          if (isset($this->_providers[$name])) {
              return $this->_providers[$name];
          }
          if ($name !== 'default') {
              return null;
          }
  
          $this->_providers[$name] = new RulesProvider();
  
          return $this->_providers[$name];
      }
code_tokens: public function getProvider ( $ name ) { if ( isset ( $ this -> _providers [ $ name ] ) ) { return $ this -> _providers [ $ name ] ; } if ( $ name !== 'default' ) { return null ; } $ this -> _providers [ $ name ] = new RulesProvider ( ) ; return $ this -> _providers [ $ name ] ; }
docstring: Returns the provider stored under that name if it exists.
  
  @param string $name The name under which the provider should be set.
  @return object|string|null
  @throws \ReflectionException
docstring_tokens: Returns the provider stored under that name if it exists .