original_string: public function withAddedInterceptor(string $name, array $functions): self
      {
          if (!isset($this->interceptors[$name])) {
              $this->interceptors[$name] = [];
          }
          $this->interceptors[$name] = array_merge($this->interceptors[$name], $functions);
  
          return $this;
      }
code: public function withAddedInterceptor(string $name, array $functions): self
      {
          if (!isset($this->interceptors[$name])) {
              $this->interceptors[$name] = [];
          }
          $this->interceptors[$name] = array_merge($this->interceptors[$name], $functions);
  
          return $this;
      }
code_tokens: public function withAddedInterceptor ( string $ name , array $ functions ) : self { if ( ! isset ( $ this -> interceptors [ $ name ] ) ) { $ this -> interceptors [ $ name ] = [ ] ; } $ this -> interceptors [ $ name ] = array_merge ( $ this -> interceptors [ $ name ] , $ functions ) ; return $ this ; }
docstring: Add a function to the interceptor
  
  @param string $name
  @param callable|array $functions
  @return self|$this
docstring_tokens: Add a function to the interceptor