Lines Matching refs:destination
146 * @param string $destination Destination path
150 public function copyDir($source, $destination, $exclude = '')
157 io_lock($destination);
158 $result = symlink(readlink($source), $destination);
159 io_unlock($destination);
164 io_lock($destination);
165 $result = copy($source, $destination);
166 io_unlock($destination);
170 if (!is_dir($destination)) {
171 io_mkdir_p($destination);
182 $this->copyDir("$source/$entry", "$destination/$entry", $exclude);