1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- namespace JMS\Serializer\Tests\Fixtures;
- use JMS\Serializer\Annotation\Type;
- use JMS\Serializer\Annotation\Groups;
- class MultilineGroupsFormat
- {
- /**
- * @var int
- */
- private $amount;
- /**
- * @var string
- */
- private $currency;
- public function __construct($amount, $currency)
- {
- $this->amount = (int) $amount;
- $this->currency = $currency;
- }
- public function getAmount()
- {
- return $this->amount;
- }
- public function getCurrency()
- {
- return $this->currency;
- }
- }
|