original_string: public function getProvider($label)
      {
          if (!isset($this->providers[$label])) {
              throw new InvalidArgumentException(sprintf('Unknown share button provider `%s`', $label));
          }
  
          return $this->providers[$label];
      }
code: public function getProvider($label)
      {
          if (!isset($this->providers[$label])) {
              throw new InvalidArgumentException(sprintf('Unknown share button provider `%s`', $label));
          }
  
          return $this->providers[$label];
      }
code_tokens: public function getProvider ( $ label ) { if ( ! isset ( $ this -> providers [ $ label ] ) ) { throw new InvalidArgumentException ( sprintf ( 'Unknown share button provider `%s`' , $ label ) ) ; } return $ this -> providers [ $ label ] ; }
docstring: Retrieves a share button provider from collection by its label.
  
  @param string $label
  
  @return \EzSystems\ShareButtonsBundle\SocialShare\ProviderInterface
  
  @throws \InvalidArgumentException
docstring_tokens: Retrieves a share button provider from collection by its label .