Skip to content

Instantly share code, notes, and snippets.

@jrencz
jrencz / Entity.php
Last active May 31, 2018 07:38
Generating LiipImagineBundle media URIs for FOSRestBundle Api using JMSSerializerBundle
<?php
namespace Acme\AcmeDemoBundle\Entity;
use JMS\Serializer\Annotation as Serializer;
/**
* Entity
*
* @Serializer\ExclusionPolicy("all")