Components\Flysystem\Copy::getAdapter PHP Method

getAdapter() public method

public getAdapter ( )
    public function getAdapter()
    {
        $client = new API($this->config['consumer_key'], $this->config['consumer_secret'], $this->config['access_token'], $this->config['token_secret']);
        return Filesystem(new CopyAdapter($client, 'optional/path/prefix'));
    }