From d317de971f43390db79861fb80d56b5827d874ed Mon Sep 17 00:00:00 2001 From: "Kamshory, MT" Date: Fri, 25 Oct 2024 05:20:35 +0700 Subject: [PATCH] Update dto.php --- tests/dto.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/dto.php b/tests/dto.php index f867b460..0f679fb9 100644 --- a/tests/dto.php +++ b/tests/dto.php @@ -692,7 +692,7 @@ class ProducerDto extends MagicDto /** * Producer ID * - * @Source("producerId") + * @Source("id_producer") * @JsonProperty("id_producer") * @var string */ @@ -718,7 +718,7 @@ class ProducerDto extends MagicDto $album->getProducer()->getCity()->setNamaKota("Jakarta"); $album->setReleaseDate("2024-10-29 01:06:12"); -/* + $albumDto = new AlbumDto($album); echo "JSON:\r\n"; @@ -730,7 +730,7 @@ class ProducerDto extends MagicDto echo "JSON 2:\r\n"; echo json_encode($obj2, JSON_PRETTY_PRINT)."\r\n\r\n"; -*/ + $xml = '