FractalBundle icon indicating copy to clipboard operation
FractalBundle copied to clipboard

How to set serializer on global instead of one by one?

Open fd6130 opened this issue 5 years ago • 0 comments

Hi, how can i set serializer for global instead of one by one using:

public function __construct(Manager $manager)
{
   $manager = new Manager();
   $manager->setSerializer( /** serializer class */ );
}

Is is possible to set it on yaml or something else?

fd6130 avatar Dec 01 '20 08:12 fd6130