ApiPlatform\Core\Bridge\Symfony\Bundle\DependencyInjection\ApiPlatformExtension::registerJsonProblemConfiguration PHP Method

registerJsonProblemConfiguration() private method

Registers the JSON Problem configuration.
private registerJsonProblemConfiguration ( array $errorFormats, XmlFileLoader $loader )
$errorFormats array
$loader Symfony\Component\DependencyInjection\Loader\XmlFileLoader
    private function registerJsonProblemConfiguration(array $errorFormats, XmlFileLoader $loader)
    {
        if (!isset($errorFormats['jsonproblem'])) {
            return;
        }
        $loader->load('problem.xml');
    }