FractalBundle
FractalBundle copied to clipboard
A Symfony2 Bundle for Fractal by League. Implements dependency injection into your transformers
Not sure does anybody notice this kind of issue or not... We have to manual register the transformer as a service otherwise we can't use it like this: `$resource =...
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 */ );...
It would be nice if there were a `make:transformer` command to automagically create a class that inherits from `TransformerAbstract`. Some potentially helpful resources: * https://symfony.com/doc/current/console.html * https://symfony.com/doc/current/components/console.html * https://github.com/spatie/laravel-fractal/pull/54
Remaining indirect deprecation notices (1) 1x: The "League\Fractal\Scope::fireTransformer()" method is considered internal. It may change without further notice. You should not extend it from "SamJ\FractalBundle\ContainerAwareScope".