original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: Copy the local file to Storage
  @return bool True on success, false on failure.
docstring_tokens: Copy the local file to Storage