Download the PHP package tbn/getsetforeignnormalizer-bundle without Composer
On this page you can find all versions of the php package tbn/getsetforeignnormalizer-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tbn/getsetforeignnormalizer-bundle
More information about tbn/getsetforeignnormalizer-bundle
Files in tbn/getsetforeignnormalizer-bundle
Download tbn/getsetforeignnormalizer-bundle
More information about tbn/getsetforeignnormalizer-bundle
Files in tbn/getsetforeignnormalizer-bundle
Vendor tbn
Package getsetforeignnormalizer-bundle
Short Description Add the getsetforeignnormalizer service
License
Package getsetforeignnormalizer-bundle
Short Description Add the getsetforeignnormalizer service
License
Please rate this library. Is it a good library?
Informations about the package getsetforeignnormalizer-bundle
GetSetForeignNormalizerBundle
DEPRECATED: This bundle is not usefull anymore, use Symfony serializer/normalizer instead
This bundle gives a service that permits to normalize a doctrine entity.
The entity is normalized and the ids of the foreign entities of the entity are also normalized.
Install
composer require "tbn/getsetforeignnormalizer-bundle"
Usage
Get the service in your controller
$normalizer = $this->get('get_set_foreign_normalizer');
If you do not want to normalize some attributes, use the setIgnoredAttributes parameter
$normalizer->normalize($entities, true, false, array('allImages'));//avoid the getAllImages function
The foreign entities are not fully normalized by default
You can normalize all entities using
$normalizer->normalize($entities, true);
All versions of getsetforeignnormalizer-bundle with dependencies
PHP Build Version
Package Version
No informations.
The package tbn/getsetforeignnormalizer-bundle contains the following files
Loading the files please wait ....