private function absoluteSymlinkWithFallback($originDir, $targetDir)
    {
        try {
            $this->symlink($originDir, $targetDir);
            $method = self::METHOD_ABSOLUTE_SYMLINK;
        } catch (IOException $e) {
            // fall back to copy
            $method = $this->hardCopy($originDir, $targetDir);
        }

        return $method;
    }
private function absoluteSymlinkWithFallback($originDir, $targetDir)
    {
        try {
            $this->symlink($originDir, $targetDir);
            $method = self::METHOD_ABSOLUTE_SYMLINK;
        } catch (IOException $e) {
            // fall back to copy
            $method = $this->hardCopy($originDir, $targetDir);
        }

        return $method;
    }
private function absoluteSymlinkWithFallback ( $ originDir , $ targetDir ) { try { $ this -> symlink ( $ originDir , $ targetDir ) ; $ method = self :: METHOD_ABSOLUTE_SYMLINK ; } catch ( IOException $ e ) { // fall back to copy $ method = $ this -> hardCopy ( $ originDir , $ targetDir ) ; } return $ method ; }
Try to create absolute symlink.

Falling back to hard copy.

@param string $originDir
@param string $targetDir

@return string
Try to create absolute symlink .