classes/phing/system/io/FileSystem.php
public function symlink($target, $link)
    {

        // If Windows OS then symlink() will report it is not supported in
        // the build. Use this error instead of checking for Windows as the OS.

        if (false === @symlink($target, $link)) {
            // Add error from php to end of log message. $php_errormsg.
            $msg = "FileSystem::Symlink() FAILED. Cannot symlink '$target' to '$link'. $php_errormsg";
            throw new IOException($msg);
        }
    }
public function symlink($target, $link)
    {

        // If Windows OS then symlink() will report it is not supported in
        // the build. Use this error instead of checking for Windows as the OS.

        if (false === @symlink($target, $link)) {
            // Add error from php to end of log message. $php_errormsg.
            $msg = "FileSystem::Symlink() FAILED. Cannot symlink '$target' to '$link'. $php_errormsg";
            throw new IOException($msg);
        }
    }
public function symlink ( $ target , $ link ) { // If Windows OS then symlink() will report it is not supported in // the build. Use this error instead of checking for Windows as the OS. if ( false === @ symlink ( $ target , $ link ) ) { // Add error from php to end of log message. $php_errormsg. $ msg = "FileSystem::Symlink() FAILED. Cannot symlink '$target' to '$link'. $php_errormsg" ; throw new IOException ( $ msg ) ; } }
Symbolically link a file to another name.

Currently symlink is not implemented on Windows. Don't use if the application is to be portable.

@param  string $target Path and/or name of file to link.
@param  string $link Path and/or name of link to be created.
@throws IOException
@return void
Symbolically link a file to another name .