Kraken\Filesystem\Factory\DropboxFactory::onCreate PHP Méthode

onCreate() protected méthode

protected onCreate ( mixed[] $config = [] ) : League\Flysystem\AdapterInterface
$config mixed[]
Résultat League\Flysystem\AdapterInterface
    protected function onCreate($config = [])
    {
        $client = $this->getClient();
        $class = $this->getClass();
        $client = new $client($this->param($config, 'accessToken'), $this->param($config, 'appSecret'));
        return new $class($client, $this->param($config, 'prefix'));
    }