Jarves\Filesystem\WebFilesystem::newAdapter PHP Метод

newAdapter() публичный Метод

public newAdapter ( string $serviceId, string $mountPath, array $params ) : Jarves\Filesystem\Adapter\AdapterInterface
$serviceId string
$mountPath string
$params array
Результат Jarves\Filesystem\Adapter\AdapterInterface
    public function newAdapter($serviceId, $mountPath, $params)
    {
        $service = $this->container->get($serviceId);
        $service->setMountPath($mountPath);
        $service->setParams($params);
        return $service;
    }