<?php
return array(
    'zf-content-negotiation' => array(
        'controllers' => array(),
        'selectors' => array(),
    ),
    /*
    'controllers' => array(
        'initializers' => array(
            'ZF\ContentNegotiation\ControllerInitializer'
        )
    ),
    */
    'controller_plugins' => array(
        'invokables' => array(
            'routeParam' => 'ZF\ContentNegotiation\ControllerPlugin\RouteParam',
            'queryParam' => 'ZF\ContentNegotiation\ControllerPlugin\QueryParam',
            'bodyParam' => 'ZF\ContentNegotiation\ControllerPlugin\BodyParam',
            'routeParams' => 'ZF\ContentNegotiation\ControllerPlugin\RouteParams',
            'queryParams' => 'ZF\ContentNegotiation\ControllerPlugin\QueryParams',
            'bodyParams' => 'ZF\ContentNegotiation\ControllerPlugin\BodyParams',
            'contentNegotiatedViewModel' => 'ZF\ContentNegotiation\ControllerPlugin\ContentNegotiatedViewModel'
        )
    )
);

<?php
return array(
    'zf-content-negotiation' => array(
        'controllers' => array(),
        'selectors' => array(
            'Json' => array(
                'ZF\ContentNegotiation\JsonModel' => array(
                    'application/json',
                ),
            ),
        ),
    ),
    'controller_plugins' => array(
        'invokables' => array(
            'routeParam'                 => 'ZF\ContentNegotiation\ControllerPlugin\RouteParam',
            'queryParam'                 => 'ZF\ContentNegotiation\ControllerPlugin\QueryParam',
            'bodyParam'                  => 'ZF\ContentNegotiation\ControllerPlugin\BodyParam',
            'routeParams'                => 'ZF\ContentNegotiation\ControllerPlugin\RouteParams',
            'queryParams'                => 'ZF\ContentNegotiation\ControllerPlugin\QueryParams',
            'bodyParams'                 => 'ZF\ContentNegotiation\ControllerPlugin\BodyParams',
            'contentNegotiatedViewModel' => 'ZF\ContentNegotiation\ControllerPlugin\ContentNegotiatedViewModel'
        )
    )
);

Add a Json selector by default
Add a Json selector by default

- Creates a Json selector that uses ZF\ContentNegotiation\JsonModel for
  application/json Accept headers.
- Remove commented configuration (no longer relevant)
- Align invokable plugin definitions
