function __construct() { parent::__construct(); $this->servicios = new ArrayCollection(); }
/** * @VirtualProperty() * @SerializedName("documentable") * @Groups({"details"}) */ public function getDocumentableId() { return $this->documentable->getId(); }