protected function addLicense($fileHandler) { $docFile = $this->rootDir . '/docs/LICENSE.txt'; fwrite($fileHandler, '/**' . PHP_EOL . PHP_EOL . file_get_contents($docFile) . '*/' . PHP_EOL); }