elFinder\elFinderVolumeLocalFileSystem::_copy PHP Метод

_copy() защищенный Метод

Copy file into another file
Автор: Dmitry (dio) Levashov
protected _copy ( string $source, string $targetDir, string $name ) : boolean
$source string source file path
$targetDir string target directory path
$name string new file name
Результат boolean
    protected function _copy($source, $targetDir, $name)
    {
        return copy($source, $targetDir . DIRECTORY_SEPARATOR . $name);
    }