protected function runPostDeployHooks(array $appConfig, $appDir) { if (empty($this->settings['run-deploy-hooks'])) { return null; } if (empty($appConfig['hooks']['deploy'])) { $this->output->writeln('No deploy hooks found'); return null; } $this->output->writeln('Running post-deploy hooks'); return $this->runHook($appConfig['hooks']['deploy'], $appDir); }