2017 © Pedro Peláez
 

library getsetforeignnormalizer-bundle

Add the getsetforeignnormalizer service

image

tbn/getsetforeignnormalizer-bundle

Add the getsetforeignnormalizer service

  • Wednesday, April 5, 2017
  • by thomasbeaujean
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1,590 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 10 Versions
  • 6 % Grown

The README.md

GetSetForeignNormalizerBundle

DEPRECATED: This bundle is not usefull anymore, use Symfony serializer/normalizer instead, (*1)

This bundle gives a service that permits to normalize a doctrine entity., (*2)

The entity is normalized and the ids of the foreign entities of the entity are also normalized., (*3)

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, (*4)

    $normalizer->normalize($entities, true);

The Versions

17/08 2015

v2.0.0

2.0.0.0

add the getsetforeignnormalizer service

  Sources   Download

The Development Requires

14/08 2015

v1.3.0

1.3.0.0

add the getsetforeignnormalizer service

  Sources   Download

The Development Requires

14/08 2015

v1.2.5

1.2.5.0

add the getsetforeignnormalizer service

  Sources   Download

The Development Requires

06/08 2015

v1.2.4

1.2.4.0

add the getsetforeignnormalizer service

  Sources   Download

The Development Requires

04/07 2015

v1.2.3

1.2.3.0

add the getsetforeignnormalizer service

  Sources   Download

The Development Requires

23/03 2015

v1.2.2

1.2.2.0

add the getsetforeignnormalizer service

  Sources   Download

The Development Requires

23/03 2015

v1.2.1

1.2.1.0

add the getsetforeignnormalizer service

  Sources   Download

The Development Requires

20/03 2015

v1.2.0

1.2.0.0

add the getsetforeignnormalizer service

  Sources   Download

The Development Requires