private function addGitFlowCommands(Context $context) { if (!$context->getVCS() instanceof VCS\Git) { return; } $this->add($this->createCommand("StartCommand")); $this->add($this->createCommand("HotfixCommand")); $this->add($this->createCommand("FinishCommand")); }