public function writeAccessRestrictionFiles($vendor_dir) { $this->io->
writeError('<info>Hardening vendor directory with .htaccess and web.config files.</info>'
);
// Prevent access to vendor directory on Apache servers.
FileSecurity::
writeHtaccess($vendor_dir, TRUE
);
// Prevent access to vendor directory on IIS servers.
FileSecurity::
writeWebConfig($vendor_dir);
}}