original_string: public function add(ProviderInterface $provider)
      {
          $container = $this->container;
  
          $this->container = $provider->register($container);
  
          $this->providers[] = (string) get_class($provider);
  
          return $this;
      }
code: public function add(ProviderInterface $provider)
      {
          $container = $this->container;
  
          $this->container = $provider->register($container);
  
          $this->providers[] = (string) get_class($provider);
  
          return $this;
      }
code_tokens: public function add ( ProviderInterface $ provider ) { $ container = $ this -> container ; $ this -> container = $ provider -> register ( $ container ) ; $ this -> providers [ ] = ( string ) get_class ( $ provider ) ; return $ this ; }
docstring: Adds a new provider to be registered.
  
  @param  \Zapheus\Provider\ProviderInterface $provider
  @return self
docstring_tokens: Adds a new provider to be registered .