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

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

protected onCreate ( mixed[] $config = [] ) : League\Flysystem\AdapterInterface
$config mixed[]
Результат League\Flysystem\AdapterInterface
    protected function onCreate($config = [])
    {
        $client = $this->getClient();
        $class = $this->getClass();
        $redis = new $client($this->params($config));
        return new $class($redis);
    }