Skip to content

Instantly share code, notes, and snippets.

View enrike1983's full-sized avatar

Enrico Antonello enrike1983

  • Everli
  • Italy
View GitHub Profile
[
{
"_links": {
"self": {
"href": "https://alfaparf-test.cloud.akeneo.com/api/rest/v1/assets/PF019062_1"
}
},
"code": "PF019062_1",
"localizable": false,
"description": null,
array (size=12)
'id' => string 'my_email_id' (length=38)
'module' => string 'my_module' (length=24)
'key' => string 'my_email_key' (length=13)
'to' => string 'test@domain.com' (length=15)
'from' => string ' <test123123123@testemail.com>' (length=30)
'reply-to' => string 'test123123123@testemail.com' (length=17)
'langcode' => string 'en' (length=2)
'params' =>
array (size=2)
@enrike1983
enrike1983 / Project.php
Created May 14, 2015 09:52
Integrate SonataMediaBundle in SonataAdminBundle, single entity many to many with galleries
<?php
namespace Acme\Bundle\ProjectBundle\Entity;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\ORM\Mapping as ORM;
use Acme\Bundle\ProjectBundle\Entity\ProjectHasMedia;
/**
* Project
@enrike1983
enrike1983 / gist:fe4f8fc33866c23c589a
Last active August 29, 2015 14:20
SonataAdminBundle + FOSUserBundle tramite SonataUserBundle