protected function registerTasksForUpdateMethod(Workflow $workflow, $updateMethod)
    {
        switch ($updateMethod) {
            case 'composer':
                $workflow->addTask(InstallTask::class, 'update', $this);
                break;
            default:
                parent::registerTasksForUpdateMethod($workflow, $updateMethod);
                break;
        }
    }
protected function registerTasksForUpdateMethod(Workflow $workflow, $updateMethod)
    {
        switch ($updateMethod) {
            case 'composer':
                $workflow->addTask(InstallTask::class, 'update', $this);
                break;
            default:
                parent::registerTasksForUpdateMethod($workflow, $updateMethod);
                break;
        }
    }
protected function registerTasksForUpdateMethod ( Workflow $ workflow , $ updateMethod ) { switch ( $ updateMethod ) { case 'composer' : $ workflow -> addTask ( InstallTask :: class , 'update' , $ this ) ; break ; default : parent :: registerTasksForUpdateMethod ( $ workflow , $ updateMethod ) ; break ; } }
Add support for updateMethod "composer"

@param Workflow $workflow
@param string $updateMethod
Add support for updateMethod composer