Skip to content

Instantly share code, notes, and snippets.

@teklakct
Created February 4, 2015 14:15
Show Gist options
  • Save teklakct/f5dae205b0e9e97df88f to your computer and use it in GitHub Desktop.
Save teklakct/f5dae205b0e9e97df88f to your computer and use it in GitHub Desktop.
<?php
namespace Acme\DemoBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class AcmeDemoBundle extends Bundle
{
}
jms_serializer:
metadata:
auto_detection: true
cache: array
debug: "%kernel.debug%"
file_cache:
dir: "%kernel.cache_dir%/serializer"
directories:
AcmeDemoBundle:
namespace_prefix: Acme\\DemoBundle
path: "@AcmeDemoBundle/Resources/config/serializer"
# Acme/DemoBundle/Resources/config/serializer/Model.Something.yml
Acme\DemoBundle\Model\Something:
exclusion_policy: ALL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment