private function addMergerAnnotations(Application $container)
    {
        if (!isset($container['serializer.annotations'])) {
            throw new \RuntimeException(
                'The configuration service provider depends on the JmsSerializer Service Provider but the '
                . '"serializer.annotations" key could not be found in the container.'
            );
        }

        $annotations = $container['serializer.annotations'];
        $annotations[] = array(
            'namespace' => 'phpDocumentor\Configuration\Merger\Annotation',
            'path' => __DIR__ . '/../../'
        );
        $container['serializer.annotations'] = $annotations;
    }
private function addMergerAnnotations(Application $container)
    {
        if (!isset($container['serializer.annotations'])) {
            throw new \RuntimeException(
                'The configuration service provider depends on the JmsSerializer Service Provider but the '
                . '"serializer.annotations" key could not be found in the container.'
            );
        }

        $annotations = $container['serializer.annotations'];
        $annotations[] = array(
            'namespace' => 'phpDocumentor\Configuration\Merger\Annotation',
            'path' => __DIR__ . '/../../'
        );
        $container['serializer.annotations'] = $annotations;
    }
private function addMergerAnnotations ( Application $ container ) { if ( ! isset ( $ container [ 'serializer.annotations' ] ) ) { throw new \ RuntimeException ( 'The configuration service provider depends on the JmsSerializer Service Provider but the ' . '"serializer.annotations" key could not be found in the container.' ) ; } $ annotations = $ container [ 'serializer.annotations' ] ; $ annotations [ ] = array ( 'namespace' => 'phpDocumentor\Configuration\Merger\Annotation' , 'path' => __DIR__ . '/../../' ) ; $ container [ 'serializer.annotations' ] = $ annotations ; }
Adds the annotations for the Merger component to the Serializer.

@param Application $container

@throws \RuntimeException if the annotation handler for Jms Serializer is not added to the container as
'serializer.annotations' service.

@return void
Adds the annotations for the Merger component to the Serializer .