PHP Classes

File: libraries/vendor/league/flysystem/docs/adapter/copy.md

Recommend this page to a friend!
  Classes of Duong Huynh Nghia   PHP Slim Framework 3 Modular Application   libraries/vendor/league/flysystem/docs/adapter/copy.md   Download  
File: libraries/vendor/league/flysystem/docs/adapter/copy.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: PHP Slim Framework 3 Modular Application
Create modular applications using Slim Framework
Author: By
Last change:
Date: 6 years ago
Size: 442 bytes
 

Contents

Class file image Download

layout: default permalink: /adapter/copy/ title: Copy.com Adapter

Copy.com Adapter

Installation

composer require league/flysystem-copy

Usage

use Barracuda\Copy\API;
use League\Flysystem\Filesystem;
use League\Flysystem\Copy\CopyAdapter;

$client = new API($consumerKey, $consumerSecret, $accessToken, $tokenSecret);
$filesystem = new Filesystem(new CopyAdapter($client, 'optional/path/prefix'));