protected function addAutoloader() {
        $autoloaderFile = VENDOR_PATH.'composer/autoload_psr4.php';
        $content = file_get_contents($autoloaderFile);
        
        $lineToAdd = PHP_EOL.'    \''.$this->authorNamespace.'\\\\'.$this->id.'\\\\\' => array($baseDir . \'/'.$this->id.'\'),';
        $content = str_replace('return array(', 'return array('.$lineToAdd, $content);
        
        $content = file_put_contents($autoloaderFile, $content);
    }