public function handle(UpdateComponentGroupCommand $command)
    {
        $group = $command->group;
        $group->update($this->filter($command));

        event(new ComponentGroupWasUpdatedEvent($this->auth->user(), $group));

        return $group;
    }
public function handle(UpdateComponentGroupCommand $command)
    {
        $group = $command->group;
        $group->update($this->filter($command));

        event(new ComponentGroupWasUpdatedEvent($this->auth->user(), $group));

        return $group;
    }
public function handle ( UpdateComponentGroupCommand $ command ) { $ group = $ command -> group ; $ group -> update ( $ this -> filter ( $ command ) ) ; event ( new ComponentGroupWasUpdatedEvent ( $ this -> auth -> user ( ) , $ group ) ) ; return $ group ; }
Handle the update component group command.

@param \CachetHQ\Cachet\Bus\Commands\ComponentGroup\UpdateComponentGroupCommand $command

@return \CachetHQ\Cachet\Models\ComponentGroup
Handle the update component group command .