Пример #1
0
 function __construct()
 {
     parent::__construct();
     $this->servicios = new ArrayCollection();
 }
Пример #2
0
 /**
  * @VirtualProperty()
  * @SerializedName("documentable")
  * @Groups({"details"})
  */
 public function getDocumentableId()
 {
     return $this->documentable->getId();
 }