protected function copyLocalToStorage($localPath, $storagePath)
    {
        $disk = Storage::disk(Config::get('cms.storage.uploads.disk'));
        return $disk->put($storagePath, FileHelper::get($localPath), $this->isPublic() ? 'public' : null);
    }
protected function copyLocalToStorage($localPath, $storagePath)
    {
        $disk = Storage::disk(Config::get('cms.storage.uploads.disk'));
        return $disk->put($storagePath, FileHelper::get($localPath), $this->isPublic() ? 'public' : null);
    }
protected function copyLocalToStorage ( $ localPath , $ storagePath ) { $ disk = Storage :: disk ( Config :: get ( 'cms.storage.uploads.disk' ) ) ; return $ disk -> put ( $ storagePath , FileHelper :: get ( $ localPath ) , $ this -> isPublic ( ) ? 'public' : null ) ; }
Copy the local file to Storage
@return bool True on success, false on failure.
Copy the local file to Storage