original_string: public function handle(CreateComponentCommand $command)
      {
          $component = Component::create($this->filter($command));
  
          event(new ComponentWasCreatedEvent($this->auth->user(), $component));
  
          return $component;
      }
code: public function handle(CreateComponentCommand $command)
      {
          $component = Component::create($this->filter($command));
  
          event(new ComponentWasCreatedEvent($this->auth->user(), $component));
  
          return $component;
      }
code_tokens: public function handle ( CreateComponentCommand $ command ) { $ component = Component :: create ( $ this -> filter ( $ command ) ) ; event ( new ComponentWasCreatedEvent ( $ this -> auth -> user ( ) , $ component ) ) ; return $ component ; }
docstring: Handle the add component command.
  
  @param \CachetHQ\Cachet\Bus\Commands\Component\CreateComponentCommand $command
  
  @return \CachetHQ\Cachet\Models\Component
docstring_tokens: Handle the add component command .