Kraken\Filesystem\Factory\Aws3v3Factory::onCreate PHP Метод

onCreate() защищенный Метод

protected onCreate ( mixed[] $config = [] ) : League\Flysystem\AdapterInterface
$config mixed[]
Результат League\Flysystem\AdapterInterface
    protected function onCreate($config = [])
    {
        $class = $this->getClass();
        return new $class(class_exists(S3Client::class) ? S3Client::factory($this->params($config)) : null, $this->param($config, 'bucket'), $this->param($config, 'prefix'), $this->param($config, 'options'));
    }