Skip to content

Commit

Permalink
Update dto.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kamshory committed Oct 24, 2024
1 parent f435dd8 commit d317de9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/dto.php
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ class ProducerDto extends MagicDto
/**
* Producer ID
*
* @Source("producerId")
* @Source("id_producer")
* @JsonProperty("id_producer")
* @var string
*/
Expand All @@ -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";
Expand All @@ -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 = '<?xml version="1.0"?>
<root>
Expand Down

0 comments on commit d317de9

Please sign in to comment.