1<?php 2 3declare(strict_types=1); 4 5namespace JMS\Serializer\Tests\Fixtures; 6 7class GroupsTrim 8{ 9 /** 10 * @var int 11 */ 12 private $amount; 13 14 /** 15 * @var string 16 */ 17 private $currency; 18 19 public function __construct($amount, $currency) 20 { 21 $this->amount = (int) $amount; 22 $this->currency = $currency; 23 } 24 25 public function getAmount() 26 { 27 return $this->amount; 28 } 29 30 public function getCurrency() 31 { 32 return $this->currency; 33 } 34} 35