protected function writeMainClientTemplate()
	{
		$data = $this->mainClientData;

		$filePath = $this->outputPath . DIRECTORY_SEPARATOR . 'ApiClient.php';

		if (!is_null($this->outputInterface)) {
			$this->outputInterface->writeln('<info>Writing ' . $filePath . '</info>');
		}

		file_put_contents($filePath, $this->mainClientTemplate->render($data));
	}