original_string: public function getHandlerForCommand($commandName)
      {
          $command     = str_replace($this->commandNamespace, '', $commandName);
          $handlerName = $this->handlerNamespace.'\\'.trim($command, '\\').'Handler';
  
          if (!class_exists($handlerName)) {
              throw MissingHandlerException::forCommand($commandName);
          }
  
          $handler = $this->container->make($handlerName);
  
          return $handler;
      }
code: public function getHandlerForCommand($commandName)
      {
          $command     = str_replace($this->commandNamespace, '', $commandName);
          $handlerName = $this->handlerNamespace.'\\'.trim($command, '\\').'Handler';
  
          if (!class_exists($handlerName)) {
              throw MissingHandlerException::forCommand($commandName);
          }
  
          $handler = $this->container->make($handlerName);
  
          return $handler;
      }
code_tokens: public function getHandlerForCommand ( $ commandName ) { $ command = str_replace ( $ this -> commandNamespace , '' , $ commandName ) ; $ handlerName = $ this -> handlerNamespace . '\\' . trim ( $ command , '\\' ) . 'Handler' ; if ( ! class_exists ( $ handlerName ) ) { throw MissingHandlerException :: forCommand ( $ commandName ) ; } $ handler = $ this -> container -> make ( $ handlerName ) ; return $ handler ; }
docstring: Attempts to find the command's respective handler.
  
  @param  string $commandName
  
  @return mixed
  
  @throws MissingHandlerException
docstring_tokens: Attempts to find the command s respective handler .