Download the latest stable version of this bundle with composer:
$ composer require b2pweb/bdf-serializer-bundle
Adding the following line in the config/bundles.php
file of your project::
<?php
// config/bundles.php
return [
// ...
Bdf\SerializerBundle\BdfSerializerBundle::class => ['all' => true],
// ...
];
Add a default config file to ./config/packages/bdf_serializer.yaml
.
Enable caching for production
bdf_serializer:
cache:
pool: 'cache.app'
Add a test file to ./config/packages/test/bdf_serializer.yaml
bdf_serializer:
cache:
pool: null