public function writeMediaSourceFile(\databox $databox, $source, $filename)
    {
        $realPath = $this->generateDataboxDocumentBasePath($databox) . $filename;

        $this->filesystem->copy($source, $realPath, true);
        $this->filesystem->chmod($realPath, 0760);

        return $realPath;
    }
public function writeMediaSourceFile(\databox $databox, $source, $filename)
    {
        $realPath = $this->generateDataboxDocumentBasePath($databox) . $filename;

        $this->filesystem->copy($source, $realPath, true);
        $this->filesystem->chmod($realPath, 0760);

        return $realPath;
    }
public function writeMediaSourceFile ( \ databox $ databox , $ source , $ filename ) { $ realPath = $ this -> generateDataboxDocumentBasePath ( $ databox ) . $ filename ; $ this -> filesystem -> copy ( $ source , $ realPath , true ) ; $ this -> filesystem -> chmod ( $ realPath , 0760 ) ; return $ realPath ; }
Write Media source file with given filename

@param \databox $databox
@param string $source
@param string $filename
@return string
Write Media source file with given filename