original_string: protected function tap($name, Logger $logger)
      {
          foreach ($this->configurationFor($name)['tap'] ?? [] as $tap) {
              [$class, $arguments] = $this->parseTap($tap);
  
              $this->app->make($class)->__invoke($logger, ...explode(',', $arguments));
          }
  
          return $logger;
      }
code: protected function tap($name, Logger $logger)
      {
          foreach ($this->configurationFor($name)['tap'] ?? [] as $tap) {
              [$class, $arguments] = $this->parseTap($tap);
  
              $this->app->make($class)->__invoke($logger, ...explode(',', $arguments));
          }
  
          return $logger;
      }
code_tokens: protected function tap ( $ name , Logger $ logger ) { foreach ( $ this -> configurationFor ( $ name ) [ 'tap' ] ?? [ ] as $ tap ) { [ $ class , $ arguments ] = $ this -> parseTap ( $ tap ) ; $ this -> app -> make ( $ class ) -> __invoke ( $ logger , ... explode ( ',' , $ arguments ) ) ; } return $ logger ; }
docstring: Apply the configured taps for the logger.
  
  @param  string  $name
  @param  \Illuminate\Log\Logger  $logger
  @return \Illuminate\Log\Logger
docstring_tokens: Apply the configured taps for the logger .