ZF\Apigility\Admin\Controller\AuthenticationController::updateAuthenticationAdapter PHP Метод

updateAuthenticationAdapter() приватный Метод

Update an existing authentication adapter
private updateAuthenticationAdapter ( string $adapter, array $params ) : ZF\ApiProblem\ApiProblemResponse | ZF\ContentNegotiation\ViewModel
$adapter string
$params array
Результат ZF\ApiProblem\ApiProblemResponse | ZF\ContentNegotiation\ViewModel
    private function updateAuthenticationAdapter($adapter, $params)
    {
        $entity = $this->model->updateAuthenticationAdapter($adapter, $params);
        if (!$entity) {
            return new ApiProblemResponse(new ApiProblem(404, 'No authentication adapter found'));
        }
        return $this->createEntity($entity);
    }