symlink(string $originDir, string $targetDir, bool $copyOnWindows = false)
Creates a symbolic link or copy a directory.
Parameters string $originDir The origin directory path string $targetDir The symbolic link name bool $copyOnWindows Whether to copy files if on Windows Exceptions IOException When symlink fails