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

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

Remove the authentication map for a given module/version pair.
private removeAuthenticationMap ( string $module, string | integer $version ) : ZF\ApiProblem\ApiProblemResponse | Zend\Stdlib\ResponseInterface
$module string
$version string | integer
Результат ZF\ApiProblem\ApiProblemResponse | Zend\Stdlib\ResponseInterface
    private function removeAuthenticationMap($module, $version)
    {
        try {
            $this->model->removeAuthenticationMap($module, $version);
        } catch (Exception\InvalidArgumentException $e) {
            return new ApiProblemResponse(new ApiProblem($e->getCode(), $e->getMessage()));
        }
        $response = $this->getResponse();
        $response->setStatusCode(204);
        return $response;
    }